filepath needs to be string to pass to subprocess

This commit is contained in:
rra 2020-07-24 12:31:20 +02:00
parent a7ef99ee4f
commit fa0310eb2f

View File

@ -107,7 +107,8 @@ class DropShip:
files = data.get_uris()
self.files_to_send = files
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.drop_label.set_text("Sending..")
else: