mirror of https://github.com/cheat/cheat.git
parent
3ad923eff0
commit
a37577ee85
|
@ -79,7 +79,7 @@ class Configuration:
|
||||||
])
|
])
|
||||||
|
|
||||||
def _read_config_file(self, path):
|
def _read_config_file(self, path):
|
||||||
# Reads configuration file and returns list of set variables
|
""" Reads configuration file and returns list of set variables """
|
||||||
config = {}
|
config = {}
|
||||||
if os.path.isfile(path):
|
if os.path.isfile(path):
|
||||||
with open(path) as config_file:
|
with open(path) as config_file:
|
||||||
|
@ -92,7 +92,7 @@ class Configuration:
|
||||||
return v
|
return v
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
""" Validate configuration parameters """
|
""" Validates configuration parameters """
|
||||||
|
|
||||||
# assert that cheat_highlight contains a valid value
|
# assert that cheat_highlight contains a valid value
|
||||||
highlights = [
|
highlights = [
|
||||||
|
|
Loading…
Reference in New Issue