mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-24 04:31:37 +03:00
Support for windows
This commit is contained in:
parent
eef4568e3f
commit
13e8d5fe7b
@ -9,7 +9,7 @@ current_dir = os.path.basename(os.path.dirname(__file__))
|
||||
for python_file in glob.glob(current_dir + '/*.py'):
|
||||
if python_file.endswith('__init__.py'):
|
||||
continue
|
||||
module_name = python_file.split('.')[0].replace('/', '.')
|
||||
module_name = python_file.split('.')[0].replace(os.path.sep, '.')
|
||||
print('loading %s' % module_name)
|
||||
try:
|
||||
importlib.import_module(module_name)
|
||||
|
Loading…
Reference in New Issue
Block a user