summaryrefslogtreecommitdiffstats
path: root/ocrloader.py
diff options
context:
space:
mode:
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)