mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +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)
|
signal.signal(signal.SIGUSR2, self.reload_mirrors_force)
|
||||||
|
|
||||||
while 1:
|
while 1:
|
||||||
name, status = self.channel.get()
|
try:
|
||||||
|
name, status = self.channel.get()
|
||||||
|
except:
|
||||||
|
continue
|
||||||
|
|
||||||
if status == "QUIT":
|
if status == "QUIT":
|
||||||
print("New configuration applied to {}".format(name))
|
print("New configuration applied to {}".format(name))
|
||||||
self.run_provider(name)
|
self.run_provider(name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user