Browse Source

Drop Path usage

unifiedWindowUI
Luke Murphy 4 years ago
parent
commit
71cd34a99b
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 4
      dropship.py

4
dropship.py

@ -2,7 +2,6 @@
import logging
import os
from pathlib import Path
from signal import SIGINT, SIGTERM
from subprocess import PIPE, Popen, TimeoutExpired
@ -109,8 +108,7 @@ class DropShip:
files = data.get_uris()
self.files_to_send = files
if len(files) == 1:
fpath = str(Path(files[0].replace("file://", "")))
print(fpath, type(fpath))
fpath = files[0].replace("file://", "")
self.wormhole_send(self, fpath)
self.drop_label.set_text("Sending..")
self.drop_spinner.start()

Loading…
Cancel
Save