1. Guido Draheim
  2. trac-dvbcronrecording-plugin

Commits

Guido Draheim  committed 45f9510

chr-ord

  • Participants
  • Parent commits 3d74945
  • Branches default

Comments (0)

Files changed (1)

File src/dvbcronrecording/core.py

View file
             n = self.adapters.index(adapter)
         return n
     def name(self, adapter):
-        return 'A' + adapter
+        return chr(ord('A') + adapter)
     def adaptername(self, item):
         return self.name(getattr(item, "adapter", default_adapter))