Get application settings
(property, default=1)
| 183 | |
| 184 | @staticmethod |
| 185 | def get(property, default=1): |
| 186 | """Get application settings |
| 187 | """ |
| 188 | if property.name in Setting.setting: |
| 189 | return Setting.setting[property.name] |
| 190 | Setting.setting[property.name] = default |
| 191 | return default |
| 192 | |
| 193 | @staticmethod |
| 194 | def set(property, data): |
no outgoing calls
no test coverage detected