fix linting (again)

This commit is contained in:
Elliot Matson 2022-07-29 23:51:28 -05:00
parent a9bd241663
commit 7d44729c6e
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
FROM python:3.8-alpine
RUN mkdir -p /{app,config}
RUN mkdir /app
RUN mkdir /config
COPY . /app
WORKDIR /app
CMD ["python", "app.py"]

View File

@ -5,7 +5,7 @@ import time
with open('/config/servers.json', 'w') as f:
print("created " + f.name)
template_string = ('{"Servers": {"1": {"Name": "DavinciResolve", '
'"Group": "Servers", "Port": 5432, "Username": ''
'"Group": "Servers", "Port": 5432, "Username": '
'"postgres", "Host": "postgres", "SSLMode": "prefer", "MaintenanceDB": "postgres"}}}'
)
data = json.loads(template_string)