diff --git a/arches/management/commands/updateproject.py b/arches/management/commands/updateproject.py index c77b558d641..1b0a3055039 100644 --- a/arches/management/commands/updateproject.py +++ b/arches/management/commands/updateproject.py @@ -303,15 +303,15 @@ def update_to_v7_6(self): ) if os.path.isfile( - os.path.join( - settings.APP_ROOT, "search_indexes", "sample_index.py" - ) + os.path.join(settings.APP_ROOT, "search_indexes", "sample_index.py") ): self.stderr.write( "Existing sample_index.py detected. Skipping creation of sample_index.py", ) else: - self.stdout.write(f"Creating /{settings.APP_NAME}/search_indexes/sample_index.py") + self.stdout.write( + f"Creating /{settings.APP_NAME}/search_indexes/sample_index.py" + ) src_path = os.path.join(settings.APP_ROOT, "search_indexes") if not os.path.isdir(src_path): os.mkdir(src_path) @@ -327,7 +327,9 @@ def update_to_v7_6(self): ), src_path, ) - self.stdout.write(f"Creating /{settings.APP_NAME}/search_indexes/__init__.py") + self.stdout.write( + f"Creating /{settings.APP_NAME}/search_indexes/__init__.py" + ) shutil.copy2( os.path.join( settings.ROOT_DIR,