Add extra check in dashboard
This commit is contained in:
parent
3f88ab3727
commit
fcd34a11c2
|
@ -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