summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fb.py b/fb.py
index 6d1c2aa..6165365 100755
--- a/fb.py
+++ b/fb.py
@@ -574,6 +574,7 @@ class FBClient:
def extractId(self, arg):
arg = arg.replace(self.config['pastebin'], '')
+ arg = arg.strip('/')
match = re.match('^([^/]+)', arg)
id = match.group(0)
return id