瀏覽代碼

auto commit

master
jfinn 2 年之前
父節點
當前提交
4311f53836
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      wsps/tasks_loop.py

+ 3
- 0
wsps/tasks_loop.py 查看文件

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…
取消
儲存