Commits

Guido Draheim committed f4401b0

fix

Comments (0)

Files changed (1)

src/dvbcronrecording/core.py

     def __init__(self):
         self._adapters = []
     def number(self, adapter):
-        n = len(self.adapters)
+        n = len(self._adapters)
         if adapter not in self._adapters:
-            self.adapters += [ adapter ]
+            self._adapters += [ adapter ]
         else:
-            n = self.adapters.index(adapter)
+            n = self._adapters.index(adapter)
         return n
     def name(self, adapter):
         return chr(ord('A') + self.number(adapter))