[Diff] Avoid warnings about no PDF reader

This commit is contained in:
Salvador E. Tropea 2022-09-23 09:47:41 -03:00
parent 8392f468ae
commit 4f0e0cc9cf
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class DiffOptions(BaseOptions):
return self.h.hexdigest()
def add_to_cache(self, name, hash):
cmd = [self.command, '--only_cache', '--old_file_hash', hash, '--cache_dir', self.cache_dir]
cmd = [self.command, '--no_reader', '--only_cache', '--old_file_hash', hash, '--cache_dir', self.cache_dir]
if self.incl_file:
cmd.extend(['--layers', self.incl_file])
if GS.debug_enabled: