Add extra check in dashboard
This commit is contained in:
@@ -108,6 +108,8 @@ class Agora(object):
|
|||||||
Post new trades to IRC and cache trades for the future.
|
Post new trades to IRC and cache trades for the future.
|
||||||
"""
|
"""
|
||||||
current_trades = []
|
current_trades = []
|
||||||
|
if not dash:
|
||||||
|
return
|
||||||
if not dash.items():
|
if not dash.items():
|
||||||
return
|
return
|
||||||
for contact_id, contact in dash.items():
|
for contact_id, contact in dash.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user