get value
(self, section, option)
| 278 | |
| 279 | |
| 280 | def get(self, section, option): |
| 281 | """get value""" |
| 282 | val = self.config[section][option]["value"] |
| 283 | try: |
| 284 | if type(val) in (str, unicode): |
| 285 | return val.decode("utf8") |
| 286 | else: |
| 287 | return val |
| 288 | except: |
| 289 | return val |
| 290 | |
| 291 | def set(self, section, option, value): |
| 292 | """set value""" |
no test coverage detected