Spaces:
Sleeping
Sleeping
Update tools/notifications.py
Browse files- tools/notifications.py +0 -2
tools/notifications.py
CHANGED
|
@@ -28,8 +28,6 @@ def send_notification(
|
|
| 28 |
attach_url: Image/file URL to attach
|
| 29 |
delay: Delay like "10s", "5m", "2h"
|
| 30 |
|
| 31 |
-
Returns:
|
| 32 |
-
Success or error message
|
| 33 |
"""
|
| 34 |
# Validate topic name
|
| 35 |
if not re.match(r'^[a-zA-Z0-9_-]+$', topic):
|
|
|
|
| 28 |
attach_url: Image/file URL to attach
|
| 29 |
delay: Delay like "10s", "5m", "2h"
|
| 30 |
|
|
|
|
|
|
|
| 31 |
"""
|
| 32 |
# Validate topic name
|
| 33 |
if not re.match(r'^[a-zA-Z0-9_-]+$', topic):
|