Skip to content

Commit 81f07c5

Browse files
committed
Handling .torrent file differently, since the URL was invalid
1 parent fb714f5 commit 81f07c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/deploy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
# Create torrent and upload
244244
torrent_name = "%s.torrent" % artifact_name
245245
torrent_path = os.path.join(artifact_dir, torrent_name)
246-
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)
246+
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)
247247
torrent_output = ""
248248
for line in run_command(torrent_command, artifact_dir):
249249
output(line)

0 commit comments

Comments
 (0)