fix clean install bug

This commit is contained in:
Cole Deck 2024-05-08 12:34:07 -05:00
parent 36249058ac
commit 1f69dbdb82

View File

@ -313,6 +313,7 @@ def get_multi(partnums, delay, dir, webport, cache=True, bar=None):
if _download_image(search_result["image"], output_dir):
fprint("Downloaded hi-res part image for " + partnum)
returnval = [partnum, dstype, True, False]
if os.path.exists(output_dir + "/parsed"):
os.remove(output_dir + "/parsed")
touch(output_dir + "/found_part_hires")
else: