From e55ef6c7a911b08de6528ca903f05bd255a39f36 Mon Sep 17 00:00:00 2001 From: Payam Yasaie Date: Tue, 12 Oct 2021 09:04:28 +0330 Subject: [PATCH] [FIX] Other modules upgrade write file full path Parentheses placement was wrong in other modules full_path that lead to create migrations on root of modules --- upgrade_analysis/models/upgrade_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade_analysis/models/upgrade_analysis.py b/upgrade_analysis/models/upgrade_analysis.py index 43a29a1b2..932ce80f0 100644 --- a/upgrade_analysis/models/upgrade_analysis.py +++ b/upgrade_analysis/models/upgrade_analysis.py @@ -93,7 +93,7 @@ class UpgradeAnalysis(models.Model): full_path = os.path.join(self.upgrade_path, module_name, version) else: full_path = os.path.join( - get_module_path(module_name, "migrations", version) + get_module_path(module_name), "migrations", version ) if not os.path.exists(full_path): try: