mirror of https://gitlab.com/bashrc2/epicyon
Create accounts directory before qrcode gets created
parent
9a1de6d012
commit
fc2c6e6aa0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue