mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
Start download client when a magnet link is added
This commit is contained in:
+1
-1
@@ -99,6 +99,7 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
|
||||
post_url = selected
|
||||
print(selected)
|
||||
selected_magnet = get_magnet_link(selected)
|
||||
start_client()
|
||||
add_magnet(selected_magnet)
|
||||
|
||||
def run_gui():
|
||||
@@ -111,5 +112,4 @@ def run_gui():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
start_client()
|
||||
run_gui()
|
||||
|
||||
Reference in New Issue
Block a user