forked from indymedia/epicyon
Exit if no translations
parent
0132674ea3
commit
8631654a70
|
@ -7926,6 +7926,9 @@ def runDaemon(blogsInstance: bool, mediaInstance: bool,
|
|||
print('System language: ' + systemLanguage)
|
||||
httpd.systemLanguage = systemLanguage
|
||||
httpd.translate = loadJson(translationsFile)
|
||||
if not httpd.translate:
|
||||
print('ERROR: no translations loaded from ' + translationsFile)
|
||||
sys.exit()
|
||||
|
||||
if registration == 'open':
|
||||
httpd.registration = True
|
||||
|
|
Loading…
Reference in New Issue