Skip to content

Commit 6c5d42c

Browse files
Add __repr__
1 parent 9476c79 commit 6c5d42c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/inputstreamhelper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def __init__(self, protocol, drm=None):
4444
else:
4545
self.drm = config.DRM_SCHEMES[drm]
4646

47+
def __repr__(self):
48+
return 'Helper({0}, drm={1})'.format(self.protocol, self.drm)
4749

4850
class InputStreamException(Exception):
4951
pass

0 commit comments

Comments
 (0)