diff --git a/extras/misc/mpris.py b/extras/misc/mpris.py index 8b157b790e7f464b52a03f1bb7c8932c346c63a7..60d3a74d1133bd595e0ea4759c57d973447be151 100755 --- a/extras/misc/mpris.py +++ b/extras/misc/mpris.py @@ -290,7 +290,7 @@ def GetPlayStatus(widget): # loads glade file from the directory where the script is, # so we can use /path/to/mpris.py to execute it. import sys -xml = gtk.glade.XML(os.path.dirname(sys.argv[0]) + '/mpris.glade') +xml = gtk.glade.XML(os.path.join(os.path.dirname(sys.argv[0]) , 'mpris.glade')) # ui setup bt_close = xml.get_widget('close')