Commits

Guido Draheim  committed b6b10e6

fix bug with having reverted to using tuning.channel - which it shouldn't

  • Participants
  • Parent commits a2ec04e

Comments (0)

Files changed (1)

File src/dvbcronrecording/core.py

 
 CHANNELSCONF = "~/.szap/{adapter}/channels.conf"
 
-from db.session import db_cnx, commit #@UnresolvedImport
-from db.schema import RecordingList
+from dvbcronrecording.db.session import db_cnx, commit
+from dvbcronrecording.db.schema import RecordingList #@UnresolvedImport
 
 def _(text): return text
 
                 channelname = item.channelname
                 adapter = item.adapter or "0"
                 channel = item.channelname
-                for tuning in self._channelname_to_channelconflist(req, channelname):
-                    # TODO: allow to change the adapter
-                    if tuning.adapter != adapter: continue
-                    if tuning.channel: channel = tuning.channel                
                 frontend = 0
                 if ":" in adapter:
                     adapter, frontend = adapter.split(":",1)