From 607a7b4bd63aebea8a1ba9dcda890d20f9142986 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 22 Jul 2020 19:00:00 +0200 Subject: [PATCH] Fix typo and log extra case --- dropship.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dropship.py b/dropship.py index e6a3b94..f6399cb 100644 --- a/dropship.py +++ b/dropship.py @@ -78,10 +78,11 @@ class DropShip: def on_drop(self, widget, drag_context, x, y, data, info, time): files = data.get_text().split() - if len(files) == 1: - # TODO: wormhole send that file - self.dropLabel.set_text("Sending..") self.files_to_send = files + if len(files) == 1: + self.drop_label.set_text("Sending..") + else: + log.info("Multiple file sending coming soon ™") def on_quit(self, *args, **kwargs): self.window.close()