Skip to content

Commit b2d03a0

Browse files
authored
Merge pull request #119 from diskoverdata/banner_escaping_fix
fixed diskover.py banner escape error
2 parents 5b4d3e6 + 13a29b2 commit b2d03a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

diskover/diskover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ def banner():
917917
'I didn\'t even know that was there.',
918918
'Bringing light to the darkness.']
919919

920-
print("""\u001b[31;1m
920+
print(r"""\u001b[31;1m
921921
_ _ _
922922
| (_) | |
923923
__| |_ ___| | _______ _____ _ __
@@ -1275,4 +1275,4 @@ def log_setup():
12751275
logmsg = 'FATAL ERROR: an exception has occurred: {0}'.format(e)
12761276
logger.critical(logmsg, exc_info=1)
12771277
if config['LOGTOFILE']: logger_warn.critical(logmsg, exc_info=1)
1278-
close_app_critical_error()
1278+
close_app_critical_error()

0 commit comments

Comments
 (0)