Explorar o código

Look for the right attribute.

Chris McDonough %!s(int64=16) %!d(string=hai) anos
pai
achega
117681b81b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/supervisor/process.py

+ 1 - 1
src/supervisor/process.py

@@ -78,7 +78,7 @@ class Subprocess:
 
     def reopenlogs(self):
         for dispatcher in self.dispatchers.values():
-            if hasattr(dispatcher, 'removelogs'):
+            if hasattr(dispatcher, 'reopenlogs'):
                 dispatcher.reopenlogs()
 
     def drain(self):