mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	forgot return statements, oops
This commit is contained in:
		| @@ -100,6 +100,8 @@ def select_command(corrected_commands): | |||||||
|     if settings.require_double_confirmation and selector.value.script in const.DOUBLE_CONFIRMATION_SCRIPTS: |     if settings.require_double_confirmation and selector.value.script in const.DOUBLE_CONFIRMATION_SCRIPTS: | ||||||
|         selector.value = double_confirm(selector) |         selector.value = double_confirm(selector) | ||||||
|  |  | ||||||
|  |     return selector.value | ||||||
|  |  | ||||||
|  |  | ||||||
| def double_confirm(selector): | def double_confirm(selector): | ||||||
|     confirmation_text = const.DOUBLE_CONFIRMATION_SCRIPTS[selector.value.script] |     confirmation_text = const.DOUBLE_CONFIRMATION_SCRIPTS[selector.value.script] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user