Fixed an issue where cloud deployment failed for Azure on Windows. Fixes #7498
parent
95f63f6af8
commit
ceb29547e2
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
def load_providers():
|
def load_providers():
|
||||||
""" Loads all the providers """
|
""" Loads all the providers """
|
||||||
|
@ -19,7 +19,7 @@ def load_providers():
|
||||||
|
|
||||||
path = os.path.dirname(os.path.realpath(__file__))
|
path = os.path.dirname(os.path.realpath(__file__))
|
||||||
modules = os.listdir(path + '/providers')
|
modules = os.listdir(path + '/providers')
|
||||||
|
sys.path.append(path)
|
||||||
for filename in modules:
|
for filename in modules:
|
||||||
filename = path + '/providers/' + filename
|
filename = path + '/providers/' + filename
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue