mirror of
https://github.com/unixtensor/proxmox-ntfy.git
synced 2025-06-27 23:48:04 +00:00
Replace spaces in the topic with underscores (if present)
This commit is contained in:
@ -11,4 +11,4 @@ class Address:
|
||||
addr = self.address
|
||||
if self.address[len(self.address)-1] != "/":
|
||||
addr += "/"
|
||||
return addr + topic
|
||||
return addr + topic.replace(" ", "_")
|
Reference in New Issue
Block a user