Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
85343a6c20
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      wsps/tasks_loop.py

+ 5
- 1
wsps/tasks_loop.py View File

206
 		base_path = "/usr/games/repos/ign4/py_rld/djc/rdir1/"
206
 		base_path = "/usr/games/repos/ign4/py_rld/djc/rdir1/"
207
 
207
 
208
 		file_list = [
208
 		file_list = [
209
-		base_path+"r0.py",
209
+		# base_path+"r0.py",
210
+		[base_path+"r0.py",{"ftxt":"zz2"}],
210
 		base_path+"r1.py",
211
 		base_path+"r1.py",
211
 		base_path+"r2.py",
212
 		base_path+"r2.py",
212
 		base_path+"r3.py",
213
 		base_path+"r3.py",
229
 			rfile_obj = self.files[file_name]
230
 			rfile_obj = self.files[file_name]
230
 			st = os.stat(file_name)
231
 			st = os.stat(file_name)
231
 			st_tuple = (st.st_mtime,st.st_size)
232
 			st_tuple = (st.st_mtime,st.st_size)
233
+			# if rfile_obj["ftxt"] == "":
234
+				# rfile_obj["ftxt"] = st_tuple
232
 			if rfile_obj["ftxt"] != st_tuple:
235
 			if rfile_obj["ftxt"] != st_tuple:
236
+				p(rfile_obj["ftxt"])
233
 				rfile_obj["ftxt"] = st_tuple
237
 				rfile_obj["ftxt"] = st_tuple
234
 				try:
238
 				try:
235
 					f = open(file_name,"r")
239
 					f = open(file_name,"r")

Loading…
Cancel
Save