Skip to content

Commit

Permalink
Remove __main__ from module. It uses the run part for the script
Browse files Browse the repository at this point in the history
Signed-off-by: Adam.Dybbroe <[email protected]>
  • Loading branch information
Adam.Dybbroe committed Dec 3, 2024
1 parent e545647 commit c5d3e40
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions trollsched/shapefiles_from_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,3 @@ def run(args=None):
satellites,
tle_filename,
outdir)


if __name__ == "__main__":
try:
run()
except Exception:
logger.exception("Something wrong happened!")
raise

0 comments on commit c5d3e40

Please sign in to comment.