SomeNet
/
public repos
/
pub
/
jan
/
mattermost-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6623492
)
modules/CACommandModGetPostText.py
author
Someone
<someone@somenet.org>
Thu, 27 Jan 2022 11:50:19 +0000
(12:50 +0100)
committer
Someone
<someone@somenet.org>
Thu, 27 Jan 2022 11:50:19 +0000
(12:50 +0100)
modules/CACommandModGetPostText.py
patch
|
blob
|
history
diff --git
a/modules/CACommandModGetPostText.py
b/modules/CACommandModGetPostText.py
index bc0bf6d871f8e1bcbaca4ac026f210dd6edabf18..0c70e7f7c4bb79b67a6a70da9678be2e0a2b10e3 100644
(file)
--- a/
modules/CACommandModGetPostText.py
+++ b/
modules/CACommandModGetPostText.py
@@
-19,7
+19,7
@@
class CACommandModGetPostText(AbstractCommand):
def on_POST(self, request, data):
self._require_channel_admin(data) # will throw an exception if not. (Dont try-except: Its handled up the stack.)
- msg_text = data['text'].strip()
+ msg_text = data['text'].strip()
.split(" ", 1)
try:
splitpath = msg_text[0].strip().strip("/").split("/")