conduit r1191 - in trunk: . conduit/modules



Author: johncarr
Date: Fri Jan 11 09:46:41 2008
New Revision: 1191
URL: http://svn.gnome.org/viewvc/conduit?rev=1191&view=rev

Log:
Fix iPodModule

Modified:
   trunk/ChangeLog
   trunk/conduit/modules/iPodModule.py

Modified: trunk/conduit/modules/iPodModule.py
==============================================================================
--- trunk/conduit/modules/iPodModule.py	(original)
+++ trunk/conduit/modules/iPodModule.py	Fri Jan 11 09:46:41 2008
@@ -35,10 +35,10 @@
 except:
     LIBGPOD_PHOTOS = False
 
-def _string_to_unqiue_file(txt, uri, prefix, postfix=''):
+def _string_to_unqiue_file(txt, base_uri, prefix, postfix=''):
     for i in range(1, 10000):
         filename = prefix + str(i) + postfix
-        uri = os.path.join(uri, filename)
+        uri = os.path.join(base_uri, filename)
         f = File.File(uri)
         if not f.exists():
             break



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]