mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
Sort return without duplicate condition
This commit is contained in:
parent
8b7566eeb3
commit
11f78325e6
@ -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