Read from the congigure file: preference.cfg
(cls)
| 12 | |
| 13 | @classmethod |
| 14 | def read(cls): |
| 15 | """Read from the congigure file: preference.cfg """ |
| 16 | if os.path.exists(cls.filename): |
| 17 | pkl_file = open(cls.filename,'r') |
| 18 | cls.cfg = eval(pkl_file.read().replace("\n","").encode('utf8')) |
| 19 | pkl_file.close() |
| 20 | |
| 21 | @classmethod |
| 22 | def write(cls): |
no test coverage detected