Author: schwardt
Date: Sat Feb 10 18:28:28 2007
New Revision: 2477

Modified:
   trunk/WIP/record/src/dvbconfigreader.py

Log:
- some fixes


Modified: trunk/WIP/record/src/dvbconfigreader.py
==============================================================================
--- trunk/WIP/record/src/dvbconfigreader.py     (original)
+++ trunk/WIP/record/src/dvbconfigreader.py     Sat Feb 10 18:28:28 2007
@@ -191,17 +191,19 @@
             while self.config['frequency'] < 1000000:
                 self.config['frequency'] *= 1000
 
-        map_config( 'hierarchie', map_hierarchy )
-        map_config( 'bandwidth', map_bandwidth )
-        map_config( 'transmissionmode', map_bandwidth )
-        map_config( 'guardinterval', map_guardinterval )
-        map_config( 'modulation', map_modulation )
-        map_config( 'dataratelow', map_fec )
-        map_config( 'dataratehigh', map_fec )
-        map_config( 'inversion', map_inversion )
+        self.map_config( 'hierarchie', self.map_hierarchy )
+        self.map_config( 'bandwidth', self.map_bandwidth )
+        self.map_config( 'transmissionmode', self.map_bandwidth )
+        self.map_config( 'guardinterval', self.map_guardinterval )
+        self.map_config( 'modulation', self.map_modulation )
+        self.map_config( 'dataratelow', self.map_fec )
+        self.map_config( 'dataratehigh', self.map_fec )
+        self.map_config( 'inversion', self.map_inversion )
 
             
     def map_config(self, key, keydict):
+        if not self.config.has_key( key ):
+            return   
         if self.config[ key ] in keydict.keys():
             self.config[ key ] = keydict[ self.config[ key ] ]
         else:

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to