Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
4311f53836
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      wsps/tasks_loop.py

+ 3
- 0
wsps/tasks_loop.py View File

@@ -279,10 +279,13 @@ class RldMan():
279 279
 					eflag ="nd"
280 280
 					scope_obj = self.get_scope(file_name,rfile_obj)
281 281
 					if self.scope_opt == "locals":
282
+						eflag ="locals"
282 283
 						exec(ftxt,scope_obj["globals"],scope_obj["locals"])
283 284
 					elif self.scope_opt == "globals":
285
+						eflag ="globals"
284 286
 						exec(ftxt,scope_obj["globals"])
285 287
 					else:
288
+						eflag ="[]"
286 289
 						exec(ftxt)
287 290
 
288 291
 				except Exception as e:

Loading…
Cancel
Save