Fix check_env
Build and publish / docker (push) Successful in 2m19s
Details
Build and publish / docker (push) Successful in 2m19s
Details
This commit is contained in:
parent
0baf51ebde
commit
e618a7fb0d
4
main.py
4
main.py
|
@ -212,8 +212,4 @@ async def main():
|
||||||
catch_api_error(e, 'tg² failed to get items')
|
catch_api_error(e, 'tg² failed to get items')
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if not check_env():
|
|
||||||
print('Missing environment variables')
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
asyncio.run(main())
|
asyncio.run(main())
|
||||||
|
|
Loading…
Reference in New Issue