Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions dj_gui_api_server/DJConnector.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def attempt_login(database_address, username, password):

# Attempt to connect return true if successful, false is failed
try:
dj.conn()
dj.conn.connection.close()
dj.conn(reset=True)
return dict(result=True)
except Exception as e:
return dict(result=False, error=e)
Expand Down