Skip to content

Commit

Permalink
Handling .torrent file differently, since the URL was invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Feb 24, 2021
1 parent fb714f5 commit 81f07c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
# Create torrent and upload
torrent_name = "%s.torrent" % artifact_name
torrent_path = os.path.join(artifact_dir, torrent_name)
torrent_command = 'mktorrent -a "udp://tracker.openbittorrent.com:80/announce, udp://tracker.publicbt.com:80/announce, udp://tracker.opentrackr.org:1337" -c "OpenShot Video Editor %s" -w "%s" -o "%s" "%s"' % (github_release.tag_name, download_url, torrent_name, torrent_name)
torrent_command = 'mktorrent -a "udp://tracker.openbittorrent.com:80/announce, udp://tracker.publicbt.com:80/announce, udp://tracker.opentrackr.org:1337" -c "OpenShot Video Editor %s" -w "%s" -o "%s" "%s"' % (github_release.tag_name, download_url, torrent_name, artifact_name)
torrent_output = ""
for line in run_command(torrent_command, artifact_dir):
output(line)
Expand Down

0 comments on commit 81f07c5

Please sign in to comment.