diff options
author | André Glüpker <git@wgmd.de> | 2016-08-06 10:40:02 +0200 |
---|---|---|
committer | André Glüpker <git@wgmd.de> | 2016-08-06 10:40:02 +0200 |
commit | 2da10b84685df5c0078299d962a1a3ac66515150 (patch) | |
tree | 48be90132ac6a814f50a40e916fd2a290c6182ab /9kwpyqt.py | |
parent | 89a29e89478eb0a13230623e6806643f09b715ea (diff) | |
download | 9kwpyqt-2da10b84685df5c0078299d962a1a3ac66515150.tar.gz 9kwpyqt-2da10b84685df5c0078299d962a1a3ac66515150.tar.bz2 9kwpyqt-2da10b84685df5c0078299d962a1a3ac66515150.zip |
Use real path.
This resolves correctly, when using symlinks.
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x | 9kwpyqt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |