From 7f62cc0b0795d895c8828b018484aaf76a55ae1c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 6 Sep 2012 12:45:12 +0200 Subject: [PATCH] fix library path --- oxcd/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/oxcd/__init__.py b/oxcd/__init__.py index d8af74d..265dc54 100644 --- a/oxcd/__init__.py +++ b/oxcd/__init__.py @@ -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