mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-15 07:09:55 +02:00
'overwrite' check: only in 'dir_in' mode
This commit is contained in:
parent
1f4a17b60d
commit
ea136e3ddd
1 changed files with 6 additions and 7 deletions
|
@ -4331,7 +4331,6 @@ class Eynollah:
|
|||
if self.dir_in:
|
||||
self.reset_file_name_dir(os.path.join(self.dir_in,img_name))
|
||||
#print("text region early -11 in %.1fs", time.time() - t0)
|
||||
|
||||
if os.path.exists(self.writer.output_filename):
|
||||
if self.overwrite:
|
||||
self.logger.warning("will overwrite existing output file '%s'", self.writer.output_filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue