Vorbereitung Release 0.2.0 #83

Merged
tpeetz merged 178 commits from develop/0.2.0 into main 2026-01-29 22:50:42 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 435de2ec92 - Show all commits
+1 -1
View File
@@ -19,7 +19,7 @@ class Settings:
DATABASE_URL: str = f"postgresql://{DB_USER}:{DB_PASSWORD}@{DB_SERVER}:{DB_PORT}/{DB_DBNAME}"
SECRET_KEY: str = os.getenv("SECRET_KEY", "J6GOtcwC2NJI1l0VkHu20PacPFGTxpirBxWwynoHjsc=")
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 30 # in mins
ACCESS_TOKEN_EXPIRE_MINUTES = 600 # in mins
settings = Settings()
+1 -1
View File
@@ -72,7 +72,7 @@ def is_file_downloaded(media_file: dict, dir: Path) -> FileStatus:
file_with_id_as_name = Path(dir, f"{file_name_as_id}.mp4")
if file_with_id_as_name.exists():
log.info(f"{file_with_id_as_name} has been downloaded and renamed")
media_file['cloud_link'] = file_with_id_as_name
media_file['cloud_link'] = str(file_with_id_as_name)
media_file['should_download'] = False
return FileStatus.RENAMED
log.info("could not find file - start download")