Commit 6d980f1e authored by karlicoss's avatar karlicoss Committed by GitHub

fix error logging during connection init (#723)

parent 17af82e7
......@@ -9,8 +9,8 @@ def Conn(database):
if database:
print("[+] Inserting into Database: " + str(database))
conn = init(database)
if isinstance(conn, str):
print(str)
if isinstance(conn, str): # error
print(conn)
sys.exit(1)
else:
conn = ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment