mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-11 16:22:24 +02:00
Just in case, check whether picture exists for commit
This is in addition to the other commit logic.
This commit is contained in:
parent
30555b576c
commit
e753406a6c
@ -180,7 +180,7 @@ class Instaloader:
|
||||
filename += '.' + file_extension
|
||||
# A post is considered "commited" if the json file exists and is not malformed.
|
||||
if self.commit_mode:
|
||||
if self._committed:
|
||||
if self._committed and os.path.isfile(filename):
|
||||
self.context.log(filename + ' exists', end=' ', flush=True)
|
||||
return False
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user