Configuration cli argument for document_consumer

This commit is contained in:
Ovv
2018-03-03 18:43:20 +00:00
committed by Daniel Quinn
parent 3adccc0bdb
commit d1a57b5d68
4 changed files with 45 additions and 36 deletions
+1 -1
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)
)