From b46ada95964331e26c2a75c46289f37f708af640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Fri, 17 Jan 2014 16:19:54 +0100 Subject: [PATCH] Drag & drop for OSX and Linux --- kcc/KCC_gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index ccb300b..afe4d7e 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -978,6 +978,8 @@ class KCCGUI(KCC_ui.Ui_KCC): message = urllib.parse.unquote(message.toString().replace('file:///', '')) if sys.platform.startswith('win'): message = message.replace('/', '\\') + else: + message = '/' + message self.handleMessage(message) # noinspection PyArgumentList