Skip to content

Commit

Permalink
fix AttributeError as posts is a generator object
Browse files Browse the repository at this point in the history
  • Loading branch information
Donearm committed May 20, 2020
1 parent e795f52 commit 78f670f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instagram_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def massDownload(instance, startdate, enddate, operation):
logging.warning("Resource not available")
pass
except instaloader.exceptions.BadResponseException:
logging.warning("Error fecthing post metadata for " + posts.url)
logging.warning("Error fecthing post metadata")
pass
except TypeError as e:
print("Error while downloading profile " + profilename)
Expand Down

0 comments on commit 78f670f

Please sign in to comment.