|
@@ -58,6 +58,8 @@ class OrgReader(BaseReader):
|
|
Return:
|
|
Return:
|
|
A dict containing metadatas
|
|
A dict containing metadatas
|
|
"""
|
|
"""
|
|
|
|
+ if not text_lines:
|
|
|
|
+ return {}
|
|
expr_metadata = re.compile(r'^#\+([a-zA-Z]+):(.*)')
|
|
expr_metadata = re.compile(r'^#\+([a-zA-Z]+):(.*)')
|
|
return {
|
|
return {
|
|
expr_metadata.match(line).group(1).lower()
|
|
expr_metadata.match(line).group(1).lower()
|