summaryrefslogtreecommitdiff
path: root/http/api/api.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-07 23:35:22 +0100
committeremkael <emkael@tlen.pl>2019-11-07 23:35:22 +0100
commit1268ce872b8dad4821f58839eaefb284a932e6d8 (patch)
treee17febeebddc0da00751bcc941be89119635dbc1 /http/api/api.py
parent78786c9c6ed9df39f1e34b3ad2735f9656adc7cf (diff)
PDF support in web interface
Diffstat (limited to 'http/api/api.py')
-rw-r--r--http/api/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/api/api.py b/http/api/api.py
index 0e5da8d..d5bb239 100644
--- a/http/api/api.py
+++ b/http/api/api.py
@@ -59,7 +59,7 @@ def handle_upload(response, request):
try:
return_obj['name'] = params['name']
- converter = DealConverter()
+ converter = DealConverter(columns=4, orientation='Portrait')
parser = converter.detect_format(params['name'])
input_file = StringIO(base64.b64decode(params['content']))
dealset = parser.parse_content(input_file)