mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 11:42:43 +00:00
bug fix
This commit is contained in:
parent
c80c35bba6
commit
95e546c9f0
@ -201,7 +201,11 @@ class TUNASync(object):
|
||||
signal.signal(signal.SIGUSR2, self.reload_mirrors_force)
|
||||
|
||||
while 1:
|
||||
try:
|
||||
name, status = self.channel.get()
|
||||
except:
|
||||
continue
|
||||
|
||||
if status == "QUIT":
|
||||
print("New configuration applied to {}".format(name))
|
||||
self.run_provider(name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user