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
 					eflag ="nd"
279
 					eflag ="nd"
280
 					scope_obj = self.get_scope(file_name,rfile_obj)
280
 					scope_obj = self.get_scope(file_name,rfile_obj)
281
 					if self.scope_opt == "locals":
281
 					if self.scope_opt == "locals":
282
+						eflag ="locals"
282
 						exec(ftxt,scope_obj["globals"],scope_obj["locals"])
283
 						exec(ftxt,scope_obj["globals"],scope_obj["locals"])
283
 					elif self.scope_opt == "globals":
284
 					elif self.scope_opt == "globals":
285
+						eflag ="globals"
284
 						exec(ftxt,scope_obj["globals"])
286
 						exec(ftxt,scope_obj["globals"])
285
 					else:
287
 					else:
288
+						eflag ="[]"
286
 						exec(ftxt)
289
 						exec(ftxt)
287
 
290
 
288
 				except Exception as e:
291
 				except Exception as e:

Loading…
Cancel
Save