Skip to content

Commit

Permalink
Support running app.py with a base URL again. (#1875)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdilauro authored May 30, 2024
1 parent 45298a2 commit ed812a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,5 @@ def run(url=None):


if __name__ == "__main__":
url = None
if len(sys.argv) > 1:
url = sys.argv[1]
url = sys.argv.pop() if len(sys.argv) > 1 else None
run(url)

0 comments on commit ed812a1

Please sign in to comment.