Skip to content

Commit

Permalink
Attempt to return success code to OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Aug 24, 2024
1 parent 2ee4823 commit 3270100
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion load.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from node_normalizer.loader import NodeLoader
import asyncio
import sys


async def load_redis():
Expand All @@ -14,7 +15,8 @@ async def load_redis():
print('Failed to load node normalization data.')
else:
print('Success')
return success


if __name__ == '__main__':
asyncio.run(load_redis())
sys.exit(asyncio.run(load_redis()))

0 comments on commit 3270100

Please sign in to comment.