Fix typo and log extra case

This commit is contained in:
Luke Murphy 2020-07-22 19:00:00 +02:00
parent ad73f87cc5
commit 607a7b4bd6
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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()