Commit 578cb241 by sikang

update

parent 093f94f4
...@@ -72,7 +72,7 @@ class ImageGarble: ...@@ -72,7 +72,7 @@ class ImageGarble:
if len(config['image_path']) > 0 : if len(config['image_path']) > 0 :
count = range(100,200) count = range(100,200)
for i in count: for i in count:
self.__create_img("%s/%s.png"%(config['image_path'],self.__gen_rand_str())) self.__create_img("%s/%s/%s.png"%(config['root'],config['image_path'],self.__gen_rand_str()))
else: else:
for main_dir in config["lib_main"]: for main_dir in config["lib_main"]:
for root, dirs, files in os.walk("%s/%s/res/" % (config['root'], main_dir)): for root, dirs, files in os.walk("%s/%s/res/" % (config['root'], main_dir)):
......
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