refactor kontor-schema

This commit is contained in:
Thomas Peetz
2025-02-08 20:22:21 +01:00
parent ca9022d289
commit f5fb743503
3 changed files with 40 additions and 39 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class MediaFile(Base, BaseMixin, BaseVideoMixin):
def __str__(self):
return f'{self.title}({self.id})'
def update_title(self):
def update_title(self) -> None:
print(f"update title for {self.url}")
try:
r = requests.get(self.url)