Drop key error again
parent
d5b357b69a
commit
fb4f1732b6
|
@ -434,8 +434,7 @@ class Storage:
|
||||||
syms = await client.list_symbols()
|
syms = await client.list_symbols()
|
||||||
|
|
||||||
if fqsn not in syms:
|
if fqsn not in syms:
|
||||||
raise KeyError('No entry for {fqsn}')
|
return {}
|
||||||
# return {}
|
|
||||||
|
|
||||||
# use the provided timeframe or 1s by default
|
# use the provided timeframe or 1s by default
|
||||||
tfstr = tf_in_1s.get(timeframe, tf_in_1s[1])
|
tfstr = tf_in_1s.get(timeframe, tf_in_1s[1])
|
||||||
|
|
Loading…
Reference in New Issue