1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-13 22:28:33 +00:00
This commit is contained in:
Jared Henry Oviatt 2015-05-06 19:33:57 -07:00
parent a0118fad4e
commit 5aa4875aa0
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ def get_fuckups(): # returns a dictionary of your fuckups from ~/.thefuck/my_fuc
if IS_FUCKUP:
key = line
IS_FUCKUP = False
else
else:
cmd = line
IS_FUCKUP = True
fuckups[key] = cmd

View File

@ -84,7 +84,7 @@ def check_args(settings, args, cmd):
elif opt == '--remove':
custom_fuckups.remove_fuckup(val)
return True
else
else:
return False
except Exception as err:
logs.failed(err, settings)