mirror of
https://github.com/Xevion/phototag.git
synced 2025-12-09 18:07:51 -06:00
more uncaught mispellings across files, adding to user dictionary etc.
This commit is contained in:
@@ -19,7 +19,7 @@ TEMP_PATH = os.path.join(ROOT, "temp")
|
||||
OUTPUT_PATH = os.path.join(ROOT, "output")
|
||||
log.info("Path Constants Built.")
|
||||
|
||||
# Enviroment Variables
|
||||
# Environment Variables
|
||||
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = os.path.join(
|
||||
SCRIPT_ROOT, "config", config.config["google"]["credentials"]
|
||||
)
|
||||
|
||||
@@ -34,7 +34,7 @@ def run():
|
||||
]
|
||||
log.info(f"Found {len(select)} valid files")
|
||||
if len(select) <= 0:
|
||||
log.fatal("No vald files found, exiting early")
|
||||
log.fatal("No valid files found, exiting early")
|
||||
return
|
||||
|
||||
# Create the 'temp' directory
|
||||
|
||||
@@ -35,9 +35,9 @@ def run():
|
||||
def auth(path, move):
|
||||
if not os.path.isabs(path):
|
||||
path = os.path.abspath(path)
|
||||
# Verify that the file eixsts
|
||||
# Verify that the file exists
|
||||
if os.path.isfile(path):
|
||||
log.info("Specifed path is file and exists")
|
||||
log.info("Specified path is file and exists")
|
||||
else:
|
||||
if os.path.isdir(path):
|
||||
log.warning("Specified path is directory, not file!")
|
||||
|
||||
Reference in New Issue
Block a user