[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
pull/2417/head
Payam Yasaie 2021-10-12 09:04:28 +03:30 committed by Stefan Rijnhart
parent 15a3e6c6bd
commit e55ef6c7a9
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class UpgradeAnalysis(models.Model):
full_path = os.path.join(self.upgrade_path, module_name, version) full_path = os.path.join(self.upgrade_path, module_name, version)
else: else:
full_path = os.path.join( 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): if not os.path.exists(full_path):
try: try: