diff --git a/biodblinks/lablinks/command.py b/biodblinks/lablinks/command.py index a435bb1253898e628a621829319b2ee89ced4ff3..6e501fe2586be6a49683069bb3cdbe8b618ef8e7 100644 --- a/biodblinks/lablinks/command.py +++ b/biodblinks/lablinks/command.py @@ -23,7 +23,7 @@ class LabsLinkCommand(BaseCommand): def generate_profile_file(self, profile_file_path): self.stdout.write( - self.style.SUCCESS(f"Generating the Profile file in {profile_file_path}...") + self.style.SUCCESS("Generating the Profile file in {profile_file_path}...".format(profile_file_path=profile_file_path)) ) provider_id = settings.LABLINKS_PROVIDER_ID resource_name = settings.LABLINKS_RESOURCE_NAME @@ -44,13 +44,13 @@ class LabsLinkCommand(BaseCommand): profile_file.write(xml_string) self.stdout.write( self.style.SUCCESS( - f"Successfully generated the Profile file in {profile_file_path}..." + "Successfully generated the Profile file in {profile_file_path}...".format(profile_file_path=profile_file_path) ) ) def generate_links_file(self, links_file_path): self.stdout.write( - self.style.SUCCESS(f"Generating the Links file in {links_file_path}...") + self.style.SUCCESS("Generating the Links file in {links_file_path}...".format(links_file_path=links_file_path)) ) XMLSerializer = serializers.get_serializer("labslink-xml") xml_serializer = XMLSerializer() @@ -61,7 +61,7 @@ class LabsLinkCommand(BaseCommand): links_file.write(xml_string) self.stdout.write( self.style.SUCCESS( - f"Successfully generated the Links file in {links_file_path}..." + "Successfully generated the Links file in {links_file_path}...".format(links_file_path=links_file_path) ) )