Sfoglia il codice sorgente

Log out a user when the sub-task has finished

Yentl Van Tendeloo 7 anni fa
parent
commit
1e1aaf478e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      wrappers/modelverse.py

+ 1 - 0
wrappers/modelverse.py

@@ -57,6 +57,7 @@ def __run_new_modelverse(address, username, password, callback, model):
     login(username, password)
     callback(model)
     exit_save(model)
+    user_logout()
 
 def __run_new_modelverse_activity(address, username, password, taskname, pipe, callback):
     init(address, taskname=taskname)