aboutsummaryrefslogtreecommitdiffstats
path: root/subreddit.py
diff options
context:
space:
mode:
Diffstat (limited to 'subreddit.py')
-rwxr-xr-xsubreddit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/subreddit.py b/subreddit.py
index 205995b..74bc2b8 100755
--- a/subreddit.py
+++ b/subreddit.py
@@ -211,7 +211,7 @@ def handle_givelambda(comment):
def handle_takelambda(comment):
try:
splitted = comment.body.split()
- user = splitted[1].replace("/u/", "")
+ user = splitted[1].replace("/u/", "").replace("u/", "")
toremove = int(splitted[2].replace("\\", ""))
reason = " ".join(splitted[3:])
@@ -228,7 +228,7 @@ def handle_takelambda(comment):
def handle_refundlambda(comment):
try:
splitted = comment.body.split()
- user = splitted[1].replace("/u/", "")
+ user = splitted[1].replace("/u/", "").replace("u/", "")
toadd = int(splitted[2].replace("\\", ""))
reason = " ".join(splitted[3:])