fix clean install bug
This commit is contained in:
parent
36249058ac
commit
1f69dbdb82
@ -313,7 +313,8 @@ def get_multi(partnums, delay, dir, webport, cache=True, bar=None):
|
|||||||
if _download_image(search_result["image"], output_dir):
|
if _download_image(search_result["image"], output_dir):
|
||||||
fprint("Downloaded hi-res part image for " + partnum)
|
fprint("Downloaded hi-res part image for " + partnum)
|
||||||
returnval = [partnum, dstype, True, False]
|
returnval = [partnum, dstype, True, False]
|
||||||
os.remove(output_dir + "/parsed")
|
if os.path.exists(output_dir + "/parsed"):
|
||||||
|
os.remove(output_dir + "/parsed")
|
||||||
touch(output_dir + "/found_part_hires")
|
touch(output_dir + "/found_part_hires")
|
||||||
else:
|
else:
|
||||||
fprint("Using cached hi-res part image for " + partnum)
|
fprint("Using cached hi-res part image for " + partnum)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user