Skip to content

Commit

Permalink
fix for --eject option
Browse files Browse the repository at this point in the history
  • Loading branch information
quiris11 committed May 4, 2016
1 parent 885f793 commit 712bec8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __main__.py
Expand Up @@ -86,5 +86,6 @@ def user_yes_no_query(question):
kindlepath, args.azw, args.days, kindlepath, args.azw, args.days,
args.fix_thumb, args.lubimy_czytac, args.fix_thumb, args.lubimy_czytac,
args.mark_real_pages) args.mark_real_pages)
if args.eject and sys.platform == 'darwin': if sys.platform == 'darwin':
if args.eject:
os.system('diskutil eject ' + kindlepath) os.system('diskutil eject ' + kindlepath)

0 comments on commit 712bec8

Please sign in to comment.