Przeglądaj źródła

Correction of lodelsites plugin scripts

Quentin Bonaventure 8 lat temu
rodzic
commit
8a8a624cb7

+ 1
- 0
lodel/plugins/lodelsite_datasource/__init__.py Wyświetl plik

@@ -29,6 +29,7 @@ CONFSPEC = {
29 29
             SettingValidator('string')),
30 30
         'db_datasource_ro': (None,
31 31
             SettingValidator('string', none_is_valid = True)),
32
+    }
32 33
 }
33 34
 
34 35
 

+ 1
- 1
lodel/plugins/lodelsite_datasource/fs_utils.py Wyświetl plik

@@ -150,7 +150,7 @@ def update_conf(sitename, groups, extensions):
150 150
         logger.warning('Unable to delete generated conf %s when trying to \
151 151
 update it %s' % (autoconf, e))
152 152
     with open(autoconf, 'w+') as cfp:
153
-        cfp.write(generate_conf(sitename, groups, extensions)
153
+        cfp.write(generate_conf(sitename, groups, extensions))
154 154
     logger.info('Generated configuration file update for %s' % sitename)
155 155
 
156 156
 ##@brief Copy conffile from model and generate a conffile from given infos

Loading…
Anuluj
Zapisz