Commit 487c68a9 by sikang

update

parent 578cb241
......@@ -70,8 +70,8 @@ class ImageGarble:
count = 0
print("generating image ...")
if len(config['image_path']) > 0 :
count = range(100,200)
for i in count:
count = random.randint(100,200)
for i in range(0,count):
self.__create_img("%s/%s/%s.png"%(config['root'],config['image_path'],self.__gen_rand_str()))
else:
for main_dir in config["lib_main"]:
......
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