Skip to content

Commit ffe1b60

Browse files
committed
Replace Application object attribute "id" type cast from int to str.
Some application id's fail int cast ex: "<app id="9485_82b5" version="1.1.1">Librivox</app>"
1 parent c0df339 commit ffe1b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roku/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class RokuException(Exception):
4242
class Application(object):
4343

4444
def __init__(self, id, version, name, roku=None):
45-
self.id = int(id)
45+
self.id = str(id)
4646
self.version = version
4747
self.name = name
4848
self.roku = roku

0 commit comments

Comments
 (0)