Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/pickfire/you-get into pi…
Browse files Browse the repository at this point in the history
…ckfire-patch-1
  • Loading branch information
soimort committed Mar 19, 2020
2 parents 0a39ac4 + 11f7832 commit c3fddc0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/you_get/util/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,4 @@ def wtf(message, exit_code=1):

def yes_or_no(message):
ans = str(input('%s (y/N) ' % message)).lower().strip()
if ans == 'y':
return True
return False
return ans == 'y'

0 comments on commit c3fddc0

Please sign in to comment.