From 2da10b84685df5c0078299d962a1a3ac66515150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Sat, 6 Aug 2016 10:40:02 +0200 Subject: Use real path. This resolves correctly, when using symlinks. --- 9kwpyqt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '9kwpyqt.py') diff --git a/9kwpyqt.py b/9kwpyqt.py index c2ca068..047db9c 100755 --- a/9kwpyqt.py +++ b/9kwpyqt.py @@ -12,7 +12,7 @@ from PyQt5.QtGui import QPixmap, QImage from PyQt5.QtMultimedia import QSound from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply -THIS_DIR = os.path.dirname(os.path.abspath(__file__)) +THIS_DIR = os.path.dirname(os.path.realpath(__file__)) class ExtendedQLabel(QLabel): clicked = pyqtSignal(int, str) -- cgit v1.2.3