Commit f0ebf270 authored by juga's avatar juga
Browse files

Check that there are results

Check that there are results before trying to get the results
for an specific relay. This would avoid raising TypeError
when there are not results.
parent 991fe852
......@@ -497,7 +497,7 @@ class ResultDump:
self.fresh_days = conf.getint('general', 'data_period')
self.datadir = conf['paths']['datadir']
self.end_event = end_event
self.data = None
self.data = {}
self.data_lock = RLock()
self.thread = Thread(target=self.enter)
self.queue = Queue()
......
Supports Markdown
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