Merge branch 'patch-1' of https://github.com/pickfire/you-get into pickfire-patch-1

This commit is contained in:
Mort Yao 2020-03-19 11:50:48 +01:00
commit c3fddc01c2
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -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'