mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Loading spinner
This commit is contained in:
@@ -40,7 +40,7 @@ class app_state_class:
|
||||
def __init__(self, currentState):
|
||||
|
||||
# json file containing the state to communicate with teh frontend
|
||||
stateFile = apiPath + '/pialert_app_state.json'
|
||||
stateFile = apiPath + '/app_state.json'
|
||||
|
||||
# update self
|
||||
self.currentState = currentState
|
||||
@@ -69,7 +69,7 @@ class AppStateEncoder(json.JSONEncoder):
|
||||
return super().default(obj)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
def updateState( newState):
|
||||
def updateState(newState):
|
||||
|
||||
state = app_state_class(newState)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user