3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

relay: default DB to {} so it doesn't flip out on 'load relay'

(cherry picked from commit db56513ac7)
This commit is contained in:
James Lu 2016-06-16 21:55:50 -07:00
parent f555a484f9
commit 9732d01a9e

View File

@ -21,6 +21,7 @@ spawnlocks_servers = defaultdict(threading.RLock)
exportdb_timer = None
db = {}
dbname = utils.getDatabaseName('pylinkrelay')
### INTERNAL FUNCTIONS