From ce2bcdf71289278b96c003015df5372a4daa3144 Mon Sep 17 00:00:00 2001 From: matzman666 Date: Sat, 19 Dec 2015 22:21:51 +0100 Subject: [PATCH] Platform independent path for application icon. --- pypipboyapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypipboyapp.py b/pypipboyapp.py index a9edaa1..0b86d94 100644 --- a/pypipboyapp.py +++ b/pypipboyapp.py @@ -104,7 +104,7 @@ def __init__(self, args): self._logger = logging.getLogger('pypipboyapp.main') pipboyAppIcon = QtGui.QIcon() - pipboyAppIcon.addFile('ui\\res\\PyPipBoyApp-Launcher.ico') + pipboyAppIcon.addFile(os.path.join('ui', 'res', 'PyPipBoyApp-Launcher.ico')) self.setWindowIcon(pipboyAppIcon)