fix library path

This commit is contained in:
j 2012-09-06 12:45:12 +02:00
parent 866174e47e
commit 7f62cc0b07

View file

@ -4,8 +4,6 @@ import os
import sys
import webbrowser
from twisted.internet import glib2reactor
from twisted.web.server import Site
from twisted.internet import reactor
@ -17,9 +15,9 @@ from version import __version__
def itunes_path():
if sys.platform == 'darwin':
path = os.path.expanduser('~/Music/iTunes/iTunes Library.xml')
path = os.path.expanduser('~/Music/iTunes/iTunes Music Library.xml')
elif sys.platform == 'win32':
path = os.path.expanduser('~\\Music\\iTunes\\iTunes Library.xml')
path = os.path.expanduser('~\\Music\\iTunes\\iTunes Music Library.xml')
else:
path = None
return path