Commit efe6b792 authored by Mario Chirinos's avatar Mario Chirinos

scripts

parent 1780733d
...@@ -23,7 +23,7 @@ def createDirectories(datafile, cfgfile): ...@@ -23,7 +23,7 @@ def createDirectories(datafile, cfgfile):
print(os.getcwd()) print(os.getcwd())
cfg["projectDir"]=os.getcwd()+"/"+dirname+"/" cfg["projectDir"]=os.getcwd()+"/"+dirname+"/"
cfg["endDate"]=datetime.datetime.now().strftime("%Y%m%d") cfg["endDate"]=datetime.datetime.now().strftime("%Y%m%d")
cfg["wkt"]=cfg["WKT"] cfg["wkt"]=row["WKT"]
if not os.path.exists(dirname): if not os.path.exists(dirname):
os.mkdir(dirname) os.mkdir(dirname)
with open(dirname+'/findProducts.json', 'w') as outfile: with open(dirname+'/findProducts.json', 'w') as outfile:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment