License change to 0-BSD

This commit is contained in:
2025-12-30 02:33:32 +01:00
parent 18255bc819
commit e4fd21f998
3 changed files with 15 additions and 32 deletions

View File

@@ -63,7 +63,7 @@ class Command(BaseCommand):
if has_images:
import_builtin_images_from_zip(filename, user)
else:
with open(file, "rt", encoding="utf-8") as json_file:
with open(filename, "rt", encoding="utf-8") as json_file:
try:
json_data = json.loads(json_file.read())
except Exception:
@@ -76,6 +76,6 @@ class Command(BaseCommand):
raise CommandError("Not a valid json file!")
if has_images:
import_builtin_images(file)
import_builtin_images(filename)
if has_pages:
import_builtin_pages(file)
import_builtin_pages(filename)