Fix Spelling
This commit is contained in:
parent
3fe4589b8b
commit
062282bf47
|
@ -67,7 +67,7 @@ class Config(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# First check if it's file like. If it is, pyyaml can load it.
|
# First check if it's file like. If it is, pyyaml can load it.
|
||||||
# I'm checking type instead of catching excpetions to keep the
|
# I'm checking type instead of catching exceptions to keep the
|
||||||
# exception handling simple
|
# exception handling simple
|
||||||
if hasattr(config_path, 'read'):
|
if hasattr(config_path, 'read'):
|
||||||
config = yaml.safe_load(config_path)
|
config = yaml.safe_load(config_path)
|
||||||
|
|
Loading…
Reference in New Issue