forked from LiveCarta/LiveCartaMeta
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user