Compare commits

..

No commits in common. "1bb553b223ae95b53ce971659f16f995d260df00" and "0d31b885670433f52392da1ada888e07e897a071" have entirely different histories.

View File

@ -5,7 +5,7 @@ from .utils import terminal_width, append_message, message_to_chat
from typing import List, Dict, Any, Optional
def read_file(fname: pathlib.Path, tags_only: bool = False) -> Dict[str, Any]:
def read_file(fname: str, tags_only: bool = False) -> Dict[str, Any]:
with open(fname, "r") as fd:
if tags_only:
return {"tags": [x.strip() for x in fd.readline().strip().split(':')[1].strip().split(',')]}