Skip to content

Commit

Permalink
add output dir to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lxyu committed Dec 1, 2012
1 parent b0d2d49 commit 156f120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kindle.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ def export_txt(clips):
"""
Export each book's clips to single text.
"""
if not os.path.exists(OUTPUT_DIR):
os.mkdir(OUTPUT_DIR)

for book in clips:
lines = []
for pos in sorted(clips[book]):
Expand Down
2 changes: 2 additions & 0 deletions output/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore

0 comments on commit 156f120

Please sign in to comment.