Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Commit 79db5cd

Browse files
committed
fixing a log bug
1 parent 1c31901 commit 79db5cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

autosqli/log.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010

1111

1212
def debug(msg):
13-
print(DEBUG_PREFIX + msg + colors.ENDC)
13+
print(DEBUG_PREFIX + str(msg) + colors.ENDC)
1414

1515

1616
def info(msg):
17-
print(INFO_PREFIX + msg + colors.ENDC)
17+
print(INFO_PREFIX + str(msg) + colors.ENDC)
1818

1919

2020
def error(msg):
21-
print(ERROR_PREFIX + msg + colors.ENDC)
21+
print(ERROR_PREFIX + str(msg) + colors.ENDC)
2222

2323

2424
def critical(msg):
25-
print(CRITICAL_PREFIX + msg + colors.ENDC)
25+
print(CRITICAL_PREFIX + str(msg) + colors.ENDC)
2626

2727

2828
def warning(msg):
29-
print(WARNING_PREFIX + msg + colors.ENDC)
29+
print(WARNING_PREFIX + str(msg) + colors.ENDC)

0 commit comments

Comments
 (0)