Add extra check in dashboard
This commit is contained in:
parent
ad04c1ac3f
commit
50e114cf90
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue