From 19cf0aa5e307f5fbbc411a2014c5fa869197a51f Mon Sep 17 00:00:00 2001 From: pin Date: Thu, 28 Feb 2013 10:52:51 +0000 Subject: [PATCH] =?utf8?q?Am=C3=A9lioration=20ld.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@411 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/minwii/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/minwii/app.py b/src/minwii/app.py index a0fa9da..b9219ae 100755 --- a/src/minwii/app.py +++ b/src/minwii/app.py @@ -39,8 +39,7 @@ class MinWii(object): self.wiimoteSupport = wiimoteSupport self.fullscreen = fullscreen LaunchScreen() - themedir = __file__.split(os.path.sep)[:-1] + ['widgets', 'data', 'minwii_theme'] - themedir = os.path.sep.join(themedir) + themedir = os.path.join(os.path.dirname(__file__), 'widgets', 'data', 'minwii_theme') theme = Theme(themedir) self.app = Desktop(theme=theme) self.synth = Synth(driver=audioDriver) -- 2.20.1