mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-13 22:28:33 +00:00
fuck...
This commit is contained in:
parent
a0118fad4e
commit
5aa4875aa0
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user