forked from LiveCarta/LiveCartaMeta
12
update.py
12
update.py
@@ -34,7 +34,7 @@ class Updater:
|
|||||||
config.update_sources()
|
config.update_sources()
|
||||||
|
|
||||||
def do_action(self):
|
def do_action(self):
|
||||||
print("Start Updater");
|
print("Start Updater")
|
||||||
print("Start Configure")
|
print("Start Configure")
|
||||||
self.update_config()
|
self.update_config()
|
||||||
if hasattr(self.args, 'source') and self.is_source_exists(self.args.source):
|
if hasattr(self.args, 'source') and self.is_source_exists(self.args.source):
|
||||||
@@ -43,11 +43,11 @@ class Updater:
|
|||||||
return
|
return
|
||||||
|
|
||||||
for source in config.get_sources_list():
|
for source in config.get_sources_list():
|
||||||
try:
|
#try:
|
||||||
print("Start source update" + source)
|
print("Start source update" + source)
|
||||||
self.parse_source(source)
|
self.parse_source(source)
|
||||||
except:
|
#except:
|
||||||
print(source + " has error")
|
# print(source + " has error")
|
||||||
|
|
||||||
|
|
||||||
updater = Updater()
|
updater = Updater()
|
||||||
|
|||||||
Reference in New Issue
Block a user