Skip to content

Commit

Permalink
get_chromecast doesn't like the quotes. Thanks to @phraim.
Browse files Browse the repository at this point in the history
  • Loading branch information
muammar committed Aug 16, 2016
1 parent ef807a4 commit 4fdd77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkchromecast/cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def get_cc(self):
if self.debug == True:
print('def get_cc(self):')
try:
self.cast = pychromecast.get_chromecast('friendly_name="'+self.castto+'"')
self.cast = pychromecast.get_chromecast(friendly_name=self.castto)
# Wait for cast device to be ready
self.cast.wait()
print(' ')
Expand Down

0 comments on commit 4fdd77e

Please sign in to comment.