Skip to content

Commit

Permalink
Correct console script entry point (#129)
Browse files Browse the repository at this point in the history
Correct console script entry point to match setup.
  • Loading branch information
yozik04 committed Nov 6, 2023
2 parents 95f968e + c8358da commit c196f51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nibe/console_scripts/convert_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ async def _validate(out_file):
await hp.initialize()


if __name__ == "__main__":
def main():
logging.basicConfig(level=logging.INFO)
asyncio.run(run())


if __name__ == "__main__":
main()

0 comments on commit c196f51

Please sign in to comment.