X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/50de70078a398fcefd89b1171cd8d0026d716e61..fa5bf40bfe796d33480a09d9e6400502552d66f7:/src/minwii/app.py?ds=inline 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)