summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authornicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-05-19 22:10:58 +0000
committernicholas <nicholas@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-05-19 22:10:58 +0000
commit79988b95d5220b23bd9d2bcc10c2cda998ef16ed (patch)
tree7b711845242974dcdefb1b4d5458bcbd8ece3bfa /bindings/python
parent8ceb160a95344e8923435876c6fac16c5150d612 (diff)
downloadlibgpod-79988b95d5220b23bd9d2bcc10c2cda998ef16ed.tar.gz
libgpod-79988b95d5220b23bd9d2bcc10c2cda998ef16ed.tar.xz
libgpod-79988b95d5220b23bd9d2bcc10c2cda998ef16ed.zip
Assume local if localdb is specified
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1270 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/ipod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/ipod.py b/bindings/python/ipod.py
index 7a93a3d..4776d2a 100644
--- a/bindings/python/ipod.py
+++ b/bindings/python/ipod.py
@@ -17,7 +17,7 @@ class TrackException(RuntimeError):
class Database:
def __init__(self, mountpoint="/mnt/ipod", local=False, localdb=None):
- if local:
+ if local or localdb:
if localdb:
self._itdb_file = localdb
else: