Skip to content
Snippets Groups Projects
Commit edc2d2ac authored by Mark Ferry's avatar Mark Ferry
Browse files

Fix notify string split

Title is the first word of the string, message is the rest
parent b8fa6969
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ def processnotify(data):
try:
params=json.loads(data)
except ValueError:
parts=data.split(None,2)
parts = data.split(None, 1)
params={"title":parts[0],"message":parts[1]}
sendrpc("GUI.ShowNotification",params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment