Rename fmt to format_type in cli interface

pull/555/head
Dominik Muhs 6 years ago
parent 128a6f76e2
commit b53ac587c5
  1. 4
      mythril/interfaces/cli.py

@ -17,8 +17,8 @@ from mythril.mythril import Mythril
from mythril.version import VERSION
def exit_with_error(fmt, message):
if fmt == 'text' or fmt == 'markdown':
def exit_with_error(format_type, message):
if format_type == 'text' or format_type == 'markdown':
print(message)
else:
result = {'success': False, 'error': str(message), 'issues': []}

Loading…
Cancel
Save