Skip to content

Commit

Permalink
Merge pull request #33 from chrisvis/master
Browse files Browse the repository at this point in the history
Fixed incorrect variable name 'filter'
  • Loading branch information
balloob committed Nov 27, 2014
2 parents 903ebe8 + dc11822 commit ac4eb58
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 ac4eb58

Please sign in to comment.