Verified Commit d5f46163 authored by BAGUET THOMAS's avatar BAGUET THOMAS
Browse files

Fix parenthèse manquante dans fichier prod.py

parent 7f562d80
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
from os import environ from os import environ
from os.path import normpath from os.path import normpath
from .base import * from .base import *
############################ ############################
...@@ -18,7 +19,7 @@ DATABASES['default']['NAME'] = normpath(join(dirname(dirname(SITE_ROOT)),'shared ...@@ -18,7 +19,7 @@ DATABASES['default']['NAME'] = normpath(join(dirname(dirname(SITE_ROOT)),'shared
i, k =0, 1 i, k =0, 1
while i <100 and k ==1: while i <100 and k ==1:
try: try:
DATABASES['{:02d}'.format(i)]['NAME'] = normpath(join(dirname(dirname(SITE_ROOT)), 'shared/' + '{:02d}'.format(i) + '.db') DATABASES['{:02d}'.format(i)]['NAME'] = normpath(join(dirname(dirname(SITE_ROOT)), 'shared/' + '{:02d}'.format(i) + '.db'))
i +=1 i +=1
except: except:
k =0 k =0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment