From fa0310eb2f6e9918e472d11a5ffbe72dd808c4e7 Mon Sep 17 00:00:00 2001 From: rra Date: Fri, 24 Jul 2020 12:31:20 +0200 Subject: [PATCH] filepath needs to be string to pass to subprocess --- dropship.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dropship.py b/dropship.py index 6c71929..a5dd638 100644 --- a/dropship.py +++ b/dropship.py @@ -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: