bugfixing
This commit is contained in:
parent
449673c58e
commit
34fa6b524a
@ -132,9 +132,14 @@ async def main():
|
|||||||
|
|
||||||
if aggregate:
|
if aggregate:
|
||||||
save_json(aggregate, symbol)
|
save_json(aggregate, symbol)
|
||||||
|
else:
|
||||||
|
os.remove(f"json/options-stats/companies/{symbol}.json")
|
||||||
|
|
||||||
except:
|
except:
|
||||||
pass
|
try:
|
||||||
|
os.remove(f"json/options-stats/companies/{symbol}.json")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
asyncio.run(main())
|
asyncio.run(main())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user