Skip to content

Commit

Permalink
Change port
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardottt committed Oct 20, 2022
1 parent 7d254d5 commit 80ac4fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions twitterbot2.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,10 +611,12 @@ def main():
if args.port.isnumeric():
if not (0 < int(args.port) < 65536):
print("invalid port.")
sys.exit()
else:
port = int(args.port)
else:
print("invalid port.")
sys.exit()

# -- TIMELINE --
if args.timeline:
Expand Down

0 comments on commit 80ac4fb

Please sign in to comment.