Drop Path usage
This commit is contained in:
parent
c313126fdc
commit
71cd34a99b
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
from pathlib import Path
|
|
||||||
from signal import SIGINT, SIGTERM
|
from signal import SIGINT, SIGTERM
|
||||||
from subprocess import PIPE, Popen, TimeoutExpired
|
from subprocess import PIPE, Popen, TimeoutExpired
|
||||||
|
|
||||||
@ -109,8 +108,7 @@ class DropShip:
|
|||||||
files = data.get_uris()
|
files = data.get_uris()
|
||||||
self.files_to_send = files
|
self.files_to_send = files
|
||||||
if len(files) == 1:
|
if len(files) == 1:
|
||||||
fpath = str(Path(files[0].replace("file://", "")))
|
fpath = files[0].replace("file://", "")
|
||||||
print(fpath, type(fpath))
|
|
||||||
self.wormhole_send(self, fpath)
|
self.wormhole_send(self, fpath)
|
||||||
self.drop_label.set_text("Sending..")
|
self.drop_label.set_text("Sending..")
|
||||||
self.drop_spinner.start()
|
self.drop_spinner.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user