Skip to content

Commit 3cee618

Browse files
committed
Support spaces in admin config
1 parent 01e50f5 commit 3cee618

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
file: ./docker/Dockerfile
4141
push: true
4242
tags: ${{ steps.meta.outputs.tags }}
43-
labels: ${{ steps.meta.outputs.labels }}
43+
labels: ${{ steps.meta.outputs.labels }}

admin_site/os2borgerpc_admin/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Django settings for OS2borgerPC admin project.
22

33
import os
4-
import configparser
54
import logging
65
import django
76

docker/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ then
1212
python ./manage.py migrate
1313
fi
1414

15-
./manage.py create_superuser_if_none_exists --username $ADMIN_USERNAME --email $ADMIN_EMAIL --password $ADMIN_PASSWORD
15+
./manage.py create_superuser_if_none_exists --username "$ADMIN_USERNAME" --email "$ADMIN_EMAIL" --password "$ADMIN_PASSWORD"
1616

1717
exec "$@"

0 commit comments

Comments
 (0)