Instapy: instapy.py: checked_img is an undefined name

Created on 6 Oct 2017  路  5Comments  路  Source: timgrossmann/InstaPy

https://github.com/timgrossmann/InstaPy/blob/master/instapy/instapy.py#L708

__checked_img__ is an undefined name in this context. It is defined as a local variable in several other functions/methods but it is not defined until 50 lines later in this method, interact_by_users(). Undefined names can raise NameError at runtime.

This issue can be seen in: https://travis-ci.org/timgrossmann/InstaPy/jobs/283931737#L500

bug help wanted

All 5 comments

@cclauss Thank you, could you fix it?

743 PR

can we delete interact_by_users method ? it's not in the docs, is it obsolete ?

@converge If you can, please leave it and add a little bit of documentation instead.
Thank you

769 interact_by_users is back and InstaPy is almost 100% PEP8 code style.

this will fix this checked_img issue too

Was this page helpful?
0 / 5 - 0 ratings

Related issues

converge picture converge  路  3Comments

deronsizemore picture deronsizemore  路  3Comments

thisishotdog picture thisishotdog  路  3Comments

ghost picture ghost  路  3Comments

Naramsim picture Naramsim  路  3Comments