diff options
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hooks/UpdateManager.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index ca94548ea..7d8f44fef 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -28,7 +28,7 @@ def exists(path):  class UpdateManager(Hook):      __name__    = "UpdateManager"      __type__    = "hook" -    __version__ = "0.47" +    __version__ = "0.48"      __config__ = [("activated"    , "bool"                         , "Activated"                                     , True              ),                    ("mode"         , "pyLoad + plugins;plugins only", "Check updates for"                             , "pyLoad + plugins"), @@ -136,6 +136,7 @@ class UpdateManager(Hook):      @threaded      def updateThread(self): +        self.core.api.pauseServer()          self.updating = True          status = self.update(onlyplugin=self.getConfig('mode') == "plugins only") @@ -144,6 +145,7 @@ class UpdateManager(Hook):              self.core.api.restart()          else:              self.updating = False +            self.core.api.unpauseServer()      @Expose | 
