From: James Bunton Date: Thu, 12 Jul 2012 02:08:08 +0000 (+1000) Subject: Use uuid4 X-Git-Url: https://code.delx.au/notipod/commitdiff_plain/7468810deb039f32381d0dc8e018afbff329c533 Use uuid4 --- diff --git a/notipod_gui.py b/notipod_gui.py index 2d2cffd..57e352b 100644 --- a/notipod_gui.py +++ b/notipod_gui.py @@ -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)