Removing dead check for config ending with .py.
This commit is contained in:
@@ -175,9 +175,6 @@ def import_module(conf):
|
||||
:param conf: The string to the configuration. Automatically strips off ".py" file extensions.
|
||||
'''
|
||||
|
||||
if conf.endswith('.py'):
|
||||
conf = conf[:-3]
|
||||
|
||||
if '.' in conf:
|
||||
parts = conf.split('.')
|
||||
name = '.'.join(parts[:-1])
|
||||
|
||||
Reference in New Issue
Block a user