Skip to content

Commit

Permalink
__name__ is not __main__
Browse files Browse the repository at this point in the history
but "SCons.Script"... let's copy from other pio scripts, which just call
main().
  • Loading branch information
schlimmchen committed Sep 5, 2024
1 parent cfeae3a commit b27a2ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pio-scripts/compile_webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,4 @@ def main():
print("checke webapp")
check_files(directory, hash_file)

if __name__ == '__main__':
main()
main()

0 comments on commit b27a2ee

Please sign in to comment.