diff --git a/cyberdrop_dl/scraper/__init__.py b/cyberdrop_dl/scraper/__init__.py index 7dc26729..2174e852 100644 --- a/cyberdrop_dl/scraper/__init__.py +++ b/cyberdrop_dl/scraper/__init__.py @@ -57,7 +57,7 @@ constants.RUNNING_PRERELEASE = next((tag for tag in constants.PRERELEASE_TAGS if tag in current_version), False) RUNNING_IN_IDE = os.getenv("PYCHARM_HOSTED") or os.getenv("TERM_PROGRAM") == "vscode" -if constants.RUNNING_PRERELEASE or RUNNING_IN_IDE: +if constants.RUNNING_PRERELEASE or RUNNING_IN_IDE or os.getenv("ENABLESIMPCITY"): CRAWLERS = ALL_CRAWLERS if RUNNING_IN_IDE: diff --git a/cyberdrop_dl/utils/transfer/transfer_hash_db.py b/cyberdrop_dl/utils/transfer/transfer_hash_db.py index 5c819f90..69751f46 100644 --- a/cyberdrop_dl/utils/transfer/transfer_hash_db.py +++ b/cyberdrop_dl/utils/transfer/transfer_hash_db.py @@ -11,6 +11,7 @@ console = Console() + def transfer_from_old_hash_table(db_path): """Transfers data from the old 'hash' table to new 'files' and 'temp_hash' tables, handling potential schema differences and errors.