Check for updates without refreshing the page

This commit is contained in:
JonnyWong16 2018-02-16 10:24:55 -08:00
parent 16f270691d
commit cab8b1c041
5 changed files with 112 additions and 20 deletions

View file

@ -335,14 +335,14 @@ class API2:
""" Restart Tautulli."""
plexpy.SIGNAL = 'restart'
self._api_msg = 'Restarting plexpy'
self._api_msg = 'Restarting Tautulli'
self._api_result_type = 'success'
def update(self, **kwargs):
""" Check for Tautulli updates on Github."""
""" Update Tautulli."""
plexpy.SIGNAL = 'update'
self._api_msg = 'Updating plexpy'
self._api_msg = 'Updating Tautulli'
self._api_result_type = 'success'
def refresh_libraries_list(self, **kwargs):