diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-05-22 17:04:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-05-22 17:04:05 -0300 |
commit | 7f7cf08fff1f66a9c57abca04a19aeb64f804f15 (patch) | |
tree | 23f48d29267bcf467556f90cf68003e071b5b89d | |
parent | 450371836069d844781ee3f02ae2d44b324359b8 (diff) | |
download | ckandumper-7f7cf08fff1f66a9c57abca04a19aeb64f804f15.tar.gz ckandumper-7f7cf08fff1f66a9c57abca04a19aeb64f804f15.tar.bz2 |
Initialize the PRNG
-rwxr-xr-x | ckandumper | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -318,6 +318,7 @@ class CkanDumper: package_downloads.append([resource['url'], resource_file]) if self.randomize == True: + random.seed() random.shuffle(package_downloads) stats = self.download.get(package_downloads) |