diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-05-16 14:00:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-05-16 14:00:08 -0300 |
commit | e239d30f713db3fecd44b7f96484dda03d29c85b (patch) | |
tree | 4a81b28edb4ecb2d28d9a4b5ab36b7780f6f5514 | |
parent | 33b36b739e93f9c43c67e34d4fb753d6ac53fff3 (diff) | |
download | ckandumper-e239d30f713db3fecd44b7f96484dda03d29c85b.tar.gz ckandumper-e239d30f713db3fecd44b7f96484dda03d29c85b.tar.bz2 |
Minor fix
-rwxr-xr-x | ckandumper | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -270,15 +270,15 @@ class CkanDumper: self.process_stats(stats) print('Downloading contents of all packages...') + package_downloads = [] # # Package contents # for package in packages['result']: - package_downloads = [] - package_folder = self.dest + os.sep + 'packages' + os.sep + package - package_file = package_folder + os.sep + 'package.json' - contents = self.load_json(package_file) + package_folder = self.dest + os.sep + 'packages' + os.sep + package + package_file = package_folder + os.sep + 'package.json' + contents = self.load_json(package_file) for resource in contents['result']['resources']: #if resource['name'] != None: |