]> code.delx.au - notipod/commitdiff
Use uuid4
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 12 Jul 2012 02:08:08 +0000 (12:08 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 12 Jul 2012 02:08:08 +0000 (12:08 +1000)
notipod_gui.py

index 2d2cffdc2598b182be6365afc01866bac0950036..57e352b77c96b4c64807fbeaa390fd6ae02d1b1c 100644 (file)
@@ -360,7 +360,7 @@ class NotiPodController(NSObject):
                        target = {}
                        target["folder"] = f
                        target["playlists"] = list(playlists)
-                       target["uuid"] = uuid.uuid1().get_hex()
+                       target["uuid"] = uuid.uuid4().get_hex()
                        target["path_prefix"] = "../"
                        if first:
                                first = False
@@ -420,7 +420,7 @@ class NotiPodController(NSObject):
                        target = {}
                        target["folder"] = folder
                        target["playlists"] = self.playlists()
-                       target["uuid"] = uuid.uuid1().get_hex()
+                       target["uuid"] = uuid.uuid4().get_hex()
                        target["path_prefix"] = "../"
                        self.targets.insertObject_atIndex_(target, 0)