filepath needs to be string to pass to subprocess
This commit is contained in:
parent
a7ef99ee4f
commit
fa0310eb2f
@ -107,7 +107,8 @@ 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 = Path(files[0].replace("file://", ""))
|
fpath = str(Path(files[0].replace("file://", "")))
|
||||||
|
print(fpath, type(fpath))
|
||||||
self.schedule(self.wormhole_send(self, fpath))
|
self.schedule(self.wormhole_send(self, fpath))
|
||||||
self.drop_label.set_text("Sending..")
|
self.drop_label.set_text("Sending..")
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user