Skip to content

Commit

Permalink
Fix uploader script
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed May 23, 2020
1 parent 8304730 commit 0eb0b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ def upload(api_id, api_hash, session, target, file, description = ""):
api_id = int(os.environ['TELETHON_API_ID'])
api_hash = os.environ['TELETHON_API_HASH']
session = os.environ['TELETHON_SESSION']
description = sys.argv[3] if len(sys.argv) > 2 else ""
description = sys.argv[3] if len(sys.argv) > 3 else ""
upload(api_id, api_hash, session, sys.argv[1], sys.argv[2], description)

0 comments on commit 0eb0b95

Please sign in to comment.