From 81f07c5dcbeb887910b4397ae109eca8b38674d5 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Wed, 24 Feb 2021 15:58:33 -0600 Subject: [PATCH] Handling .torrent file differently, since the URL was invalid --- installer/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/deploy.py b/installer/deploy.py index 9a4cff16..aeb52ea8 100644 --- a/installer/deploy.py +++ b/installer/deploy.py @@ -243,7 +243,7 @@ if __name__ == "__main__": # 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) -- GitLab