Fix settings detection

This commit is contained in:
Tomas Gavenciak 2015-09-14 23:07:08 +02:00
parent 1551224f08
commit 9d7cf1b64b

View file

@ -11,7 +11,7 @@ import os.path
if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'): if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'):
from .settings_test import * from .settings_test import *
elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb/'): elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-prod/'):
from .settings_prod import * from .settings_prod import *
else: else: