changeset 1756 | 08e4394ff4fb |
parent 1746 | 45d6f5fba016 |
child 1767 | c74815729afd |
--- a/runtime/NevowServer.py Wed Aug 16 15:18:57 2017 +0300 +++ b/runtime/NevowServer.py Wed Aug 16 16:37:45 2017 +0300 @@ -198,7 +198,8 @@ if state != self.oldstate: action = {'Started': self.site.PLCStarted, 'Stopped': self.site.PLCStopped}.get(state, None) - if action is not None: action () + if action is not None: + action() self.oldstate = state