Skip to content

Commit c0dde4c

Browse files
Simplify check_for_drm() logic
1 parent bec1859 commit c0dde4c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/inputstreamhelper.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,8 @@ def check_for_drm(self):
232232
return self._install_widevine_cdm()
233233
else:
234234
return False
235-
else:
236-
return True
237-
else:
238-
self._log('No DRM has been specified.')
239-
return True
235+
236+
return True
240237

241238
def check_for_inputstream(self):
242239
"""Ensures that selected InputStream add-on is installed, enabled and

0 commit comments

Comments
 (0)