diff options
-rwxr-xr-x | jt | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -75,9 +75,7 @@ class DraftsDirectory(object): pathname = self.get_draft_pathname(draft_id) with open(pathname) as f: for line in f: - m = re.match( - r'\[\[!meta title="(?P<title>.*)("\]\])$', - line) + m = re.match(r'\[\[!meta title="(?P<title>.*)("\]\])$', line) if m: title = m.group('title') break |