diff --git a/gameconf.py b/gameconf.py index 7ba47ab6f1..351afa2dc5 100644 --- a/gameconf.py +++ b/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.