fix for "local variable 'connected' referenced before assignment"

This commit is contained in:
gordielachance 2016-10-03 00:35:10 +02:00
parent d94a6985e2
commit a9b2f10015
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ def get_connection():
global connection
if connection is None:
connected = False
# Create connection
try: