Skip to content

Commit

Permalink
Fix incorrect variable name 'filter'
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvis committed Nov 26, 2014
1 parent 903ebe8 commit dc11822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pychromecast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_chromecasts(tries=None, **filters):

if 'ip' in filters:
for chromecast in cc_list:
if chromecast.host != filter['ip']:
if chromecast.host != filters['ip']:
excluded_cc.add(chromecast)
filters.pop('ip')

Expand Down

0 comments on commit dc11822

Please sign in to comment.