summaryrefslogtreecommitdiffstats
path: root/ocrloader.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2014-03-12 14:28:51 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2014-03-12 14:28:51 (GMT)
commit82bbe28e8b169f1fdf4485bd7110249d86f87e6a (patch)
treedbf6cd7f6501ec729e858df3ef39cd6cef2aee27 /ocrloader.py
parent7139a92d25e0ffd547b2148d91904667e89b8f6b (diff)
downloadpfwbged.ocrloader-82bbe28e8b169f1fdf4485bd7110249d86f87e6a.zip
pfwbged.ocrloader-82bbe28e8b169f1fdf4485bd7110249d86f87e6a.tar.gz
pfwbged.ocrloader-82bbe28e8b169f1fdf4485bd7110249d86f87e6a.tar.bz2
fix typo in credential variable names (#4448)
Diffstat (limited to 'ocrloader.py')
-rw-r--r--ocrloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocrloader.py b/ocrloader.py
index 5556304..81c449c 100644
--- a/ocrloader.py
+++ b/ocrloader.py
@@ -68,7 +68,7 @@ def process(cfg, filename, payload, enable_ocr=True):
'-F', 'form.widgets.owner=%s' % cfg.get('user'),
'-F', 'form.widgets.treating_group=%s' % cfg.get('treating_group'),
'-F', 'form.widgets.title=%s' % title,
- '-u', '%s:%s' % (cfg.get('get_username'), cfg.get('get_password')),
+ '-u', '%s:%s' % (cfg.get('ged_username'), cfg.get('ged_password')),
'%s/@@fileimport' % cfg.get('ged_base_url'),])
return (t == 0)