Bump pyupgrade to 2.12.0 (#48943)
This commit is contained in:
parent
ee0c87df1c
commit
8e2b5b36b5
45 changed files with 94 additions and 95 deletions
|
@ -51,7 +51,7 @@ class SynologyChatNotificationService(BaseNotificationService):
|
|||
if file_url:
|
||||
data["file_url"] = file_url
|
||||
|
||||
to_send = "payload={}".format(json.dumps(data))
|
||||
to_send = f"payload={json.dumps(data)}"
|
||||
|
||||
response = requests.post(
|
||||
self._resource, data=to_send, timeout=10, verify=self._verify_ssl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue