mirror of
https://github.com/instaloader/instaloader.git
synced 2024-08-18 20:59:38 +02:00
Avoid uninitialized variable when called with :stories (#1242)
This commit is contained in:
parent
aaeaaa0e22
commit
43c9d32b22
@ -788,6 +788,7 @@ class Instaloader:
|
||||
|
||||
if not userids:
|
||||
self.context.log("Retrieving all visible stories...")
|
||||
profile_count = None
|
||||
else:
|
||||
userids = [p if isinstance(p, int) else p.userid for p in userids]
|
||||
profile_count = len(userids)
|
||||
|
Loading…
Reference in New Issue
Block a user