From ceb29547e2ac8dbb54d6738d525e564c550565b0 Mon Sep 17 00:00:00 2001 From: Yogesh Mahajan Date: Wed, 22 Jun 2022 19:47:48 +0530 Subject: [PATCH] Fixed an issue where cloud deployment failed for Azure on Windows. Fixes #7498 --- web/pgacloud/pgacloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgacloud/pgacloud.py b/web/pgacloud/pgacloud.py index 2c5f964a4..b6a3d8a77 100755 --- a/web/pgacloud/pgacloud.py +++ b/web/pgacloud/pgacloud.py @@ -11,7 +11,7 @@ import argparse import os - +import sys def load_providers(): """ Loads all the providers """ @@ -19,7 +19,7 @@ def load_providers(): path = os.path.dirname(os.path.realpath(__file__)) modules = os.listdir(path + '/providers') - + sys.path.append(path) for filename in modules: filename = path + '/providers/' + filename