Conditions | 1 |
Total Lines | 14 |
Lines | 14 |
Ratio | 100 % |
Tests | 1 |
CRAP Score | 1.125 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf-8 |
||
26 | 1 | @classmethod |
|
27 | def from_ini(cls, ini): |
||
28 | return cls({ |
||
29 | 'no_mission_info': ini.getboolean( |
||
30 | 'game', 'NoMissionInfoHud', |
||
31 | fallback=cls.no_mission_info.default, |
||
32 | ), |
||
33 | 'no_kill_info': ini.getboolean( |
||
34 | 'game', 'noKillInfoHud', |
||
35 | fallback=cls.no_kill_info.default, |
||
36 | ), |
||
37 | 'display_at_bottom': ini.getboolean( |
||
38 | 'game', 'lowInfoHud', |
||
39 | fallback=cls.display_at_bottom.default, |
||
40 | ), |
||
42 |