Updating string format synatx part 2
This commit is contained in:
parent
be86fbcf4d
commit
acfb1bb376
36 changed files with 96 additions and 110 deletions
|
@ -35,7 +35,7 @@ class Author(BookDataModel):
|
|||
|
||||
def get_remote_id(self):
|
||||
"""editions and works both use "book" instead of model_name"""
|
||||
return "https://%s/author/%s" % (DOMAIN, self.id)
|
||||
return f"https://{DOMAIN}/author/{self.id}"
|
||||
|
||||
activity_serializer = activitypub.Author
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue