Closedown
This commit is contained in:
@@ -149,6 +149,7 @@ def plot_file(file_name, title = None):
|
||||
|
||||
class Listener(ControllerListener):
|
||||
def onControllerStateChanged(self, state, former):
|
||||
global FILENAME
|
||||
if former == State.Busy:
|
||||
FILENAME = None
|
||||
controller.addListener(Listener()) #Old listeners are cleande in startup
|
||||
@@ -346,6 +347,7 @@ def wait_inj (value, delay=0.5):
|
||||
def set_file(file_name):
|
||||
"""
|
||||
"""
|
||||
global FILENAME
|
||||
FILENAME = file_name
|
||||
|
||||
class pol_mod(Readable):
|
||||
|
||||
Reference in New Issue
Block a user