diff options
-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: |