mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
Merge branch 'patch-1' of https://github.com/pickfire/you-get into pickfire-patch-1
This commit is contained in:
commit
c3fddc01c2
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user