mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 17:56:32 +01:00
Whoops, forgot a file.
This commit is contained in:
parent
bc2ea1780b
commit
8cc9abfa94
1 changed files with 10 additions and 0 deletions
10
gameconf.py
10
gameconf.py
|
|
@ -1,8 +1,18 @@
|
|||
from apps.config.models import ConfigValue
|
||||
import os
|
||||
import settings
|
||||
"""
|
||||
Handle the setting/retrieving of server config directives.
|
||||
"""
|
||||
|
||||
def host_os_is(osname):
|
||||
"""
|
||||
Check to see if the host OS matches the query.
|
||||
"""
|
||||
if settings.OS_TYPE == osname:
|
||||
return True
|
||||
return False
|
||||
|
||||
def get_configvalue(configname):
|
||||
"""
|
||||
Retrieve a configuration value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue