Configuration cli argument for document_consumer

This commit is contained in:
Ovv
2018-02-24 20:32:19 +01:00
committed by Daniel Quinn
parent de0464639b
commit d89dbbe537
4 changed files with 45 additions and 36 deletions

View File

@@ -92,7 +92,7 @@ class UploadForm(forms.Form):
t = int(mktime(datetime.now().timetuple()))
file_name = os.path.join(
Consumer.CONSUME,
settings.CONSUMPTION_DIR,
"{} - {}.{}".format(correspondent, title, self._file_type)
)