mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 18:29:54 +00:00
Create accounts directory before qrcode gets created
This commit is contained in:
1 parent
9a1de6d012
commit
fc2c6e6aa0
1 file changed
+4
@@ -10515,6 +10515,10 @@ def runDaemon(blogsInstance: bool, mediaInstance: bool,
|
||||
serverAddress = ('', proxyPort)
|
||||
pubHandler = partial(PubServer)
|
||||
|
||||
if not os.path.isdir(baseDir + '/accounts'):
|
||||
print('Creating accounts directory')
|
||||
os.mkdir(baseDir + '/accounts')
|
||||
|
||||
try:
|
||||
httpd = EpicyonServer(serverAddress, pubHandler)
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user