]> code.delx.au - notipod/blobdiff - notipod_gui.py
Use uuid4
[notipod] / 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)