Expose remove errors to caller
parent
6b72d04427
commit
381df2815d
|
@ -36,7 +36,6 @@ def add_ticker(name, ticker_name, watchlist):
|
|||
|
||||
|
||||
def remove_ticker(name, ticker_name, watchlist):
|
||||
if name in watchlist:
|
||||
watchlist[name].remove(str(ticker_name).upper())
|
||||
if watchlist[name] == []:
|
||||
del watchlist[name]
|
||||
|
|
Loading…
Reference in New Issue