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 |
||
28 | 1 | @classmethod |
|
29 | def from_ini(cls, ini): |
||
30 | return cls({ |
||
31 | 'no_mission_info': field_from_ini( |
||
32 | cls.no_mission_info, ini, |
||
33 | 'game', 'NoMissionInfoHud', |
||
34 | ), |
||
35 | 'no_kill_info': field_from_ini( |
||
36 | cls.no_kill_info, ini, |
||
37 | 'game', 'noKillInfoHud', |
||
38 | ), |
||
39 | 'display_at_bottom': field_from_ini( |
||
40 | cls.display_at_bottom, ini, |
||
41 | 'game', 'lowInfoHud', |
||
42 | ), |
||
51 |