mirror of
https://github.com/xaitax/TotalRecall.git
synced 2025-01-17 12:58:22 +01:00
Merge pull request #7 from ansi0/issue3
This commit is contained in:
commit
de9830b42d
@ -83,7 +83,7 @@ def main(from_date=None, to_date=None, search_term=None):
|
|||||||
for image_file in os.listdir(os.path.join(extraction_folder, "ImageStore")):
|
for image_file in os.listdir(os.path.join(extraction_folder, "ImageStore")):
|
||||||
image_path = os.path.join(extraction_folder, "ImageStore", image_file)
|
image_path = os.path.join(extraction_folder, "ImageStore", image_file)
|
||||||
new_image_path = f"{image_path}.jpg"
|
new_image_path = f"{image_path}.jpg"
|
||||||
if not new_image_path.endswith(".jpg"):
|
if not image_path.endswith(".jpg"):
|
||||||
os.rename(image_path, new_image_path)
|
os.rename(image_path, new_image_path)
|
||||||
|
|
||||||
db_extraction_path = os.path.join(extraction_folder, "ukg.db")
|
db_extraction_path = os.path.join(extraction_folder, "ukg.db")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user