Skip to content

Commit

Permalink
Fix the source file checking
Browse files Browse the repository at this point in the history
  • Loading branch information
CkuT committed May 6, 2017
1 parent c7876db commit 1f145c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documents/management/commands/document_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _check_manifest(self):
)

doc_file = record["__exported_file_name__"]
if not os.path.exists(os.path.join(self.source, doc_file)):
if not os.path.exists(doc_file):
raise CommandError(
'The manifest file refers to "{}" which does not '
'appear to be in the source directory.'.format(doc_file)
Expand Down

0 comments on commit 1f145c6

Please sign in to comment.