Skip to content

Commit

Permalink
fix missing argument on download thread
Browse files Browse the repository at this point in the history
  • Loading branch information
asomoza committed Jun 29, 2023
1 parent 7753c09 commit d03c8de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ def download_finished(self, conn, c):
self.messages.add_message(f"Starting download of URL: {url}")

# Create and start a download thread for the URL
self.download_thread = DownloadThread(url_id, url)
self.download_thread = DownloadThread(
url_id, url, self.gallerydl_bin)
self.download_thread.output.connect(self.append_output)
self.download_thread.finished.connect(
lambda: self.download_finished(conn, c))
Expand Down

0 comments on commit d03c8de

Please sign in to comment.