From 8cef5a5e523d30660263df58e721b8f4b70a9a5b Mon Sep 17 00:00:00 2001 From: Egor Svitin Date: Tue, 21 Feb 2023 10:11:27 +0300 Subject: [PATCH] small fixes --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index 45bf343..ecf28dc 100644 --- a/update.py +++ b/update.py @@ -38,12 +38,12 @@ class Updater: print("Start Configure") 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) self.parse_source(self.args.source) return - for source in self.args.source: + for source in config.get_sources_list(): print("Start source update" + source) self.parse_source(source)