diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-12-09 17:21:21 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-12-09 17:22:10 +0100 |
commit | 489a24f57b3f0b203aa47cd93c0260aa639298d8 (patch) | |
tree | d0b2ddbc1b8db67a1c3c010c23617ccb4678a877 /fb.py | |
parent | 6957094c427f129b651651fd10b0000827cd2403 (diff) |
Fix ID extraction from URLs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-x | fb.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |