Changed where to look for the text version of expired drafts.

- Legacy-Id: 13052
This commit is contained in:
Henrik Levkowetz 2017-03-21 15:12:30 +00:00
parent 50d8a46e82
commit 475d18ea8e

View file

@ -100,7 +100,7 @@ class DocumentInfo(models.Model):
if not hasattr(self, '_cached_file_path'):
if self.type_id == "draft":
if self.is_dochistory():
self._cached_file_path = settings.INTERNET_DRAFT_PATH
self._cached_file_path = settings.INTERNET_ALL_DRAFTS_ARCHIVE_DIR
else:
if self.get_state_slug() == "rfc":
self._cached_file_path = settings.RFC_PATH