Merge pull request #17 from bivis/develop

small fixes
This commit is contained in:
bivis
2023-02-21 10:21:29 +03:00
committed by GitHub

View File

@@ -38,12 +38,12 @@ class Updater:
print("Start Configure") print("Start Configure")
self.update_config() self.update_config()
if self.is_source_exists(self.args.source): if hasattr(self.args, 'source') && self.is_source_exists(self.args.source):
print("Start source update" + self.args.source) print("Start source update" + self.args.source)
self.parse_source(self.args.source) self.parse_source(self.args.source)
return return
for source in self.args.source: for source in config.get_sources_list():
print("Start source update" + source) print("Start source update" + source)
self.parse_source(source) self.parse_source(source)