mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
bug fix
This commit is contained in:
parent
f9c7da5ba7
commit
0468b0614d
@ -144,7 +144,6 @@ class TUNASync(object):
|
||||
for mirror_opt in self._settings["mirrors"]:
|
||||
name = mirror_opt["name"]
|
||||
newMirCfg = MirrorConfig(self, mirror_opt)
|
||||
self.status_manager.refresh_mirror(name)
|
||||
|
||||
if name in self._mirrors:
|
||||
if newMirCfg.compare(self._mirrors[name]):
|
||||
@ -170,6 +169,8 @@ class TUNASync(object):
|
||||
print("New mirror: {}".format(name))
|
||||
self.run_provider(name)
|
||||
|
||||
self.status_manager.refresh_mirror(name)
|
||||
|
||||
def run_forever(self):
|
||||
while 1:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user