Browse Source

Update v1.3

master
Evangelos Oulis 5 years ago
parent
commit
2b3f07ee8c
  1. 2
      serverNode/serv.py

2
serverNode/serv.py

@ -88,7 +88,7 @@ class Parking(Resource):
parks = None
try:
parks = getParkings()
except mysql.connector.errors.DatabaseError as e:
except (mysql.connector.errors.DatabaseError, mysql.connector.errors.InterfaceError) as e:
mydb.reconnect(attempts=1, delay=0)
return parks, 200

Loading…
Cancel
Save