Skip to content

Commit

Permalink
[RdsDisplay.py] local variable 'mask' referenced before assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Dec 2, 2022
1 parent a6bc59b commit 149c210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/python/Screens/RdsDisplay.py
Expand Up @@ -205,6 +205,7 @@ def getMaskForPage(self, page, masks=None):
if not decoder: # this should never happen
print("[RdsDisplay] NO RDS DECODER in getMaskForPage")
masks = decoder.getRassInteractiveMask()
mask = 0
if masks:
mask = masks[(page * 4) // 8]
if page % 2:
Expand Down

0 comments on commit 149c210

Please sign in to comment.