mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix the source file checking
This commit is contained in:
parent
4a73faab5e
commit
0057feefd1
@ -77,7 +77,7 @@ class Command(Renderable, BaseCommand):
|
||||
)
|
||||
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user