mirror of
https://git.squeakyrat.moe/faggot-chan/
synced 2026-11-04 18:35:45 +01:00
this is nothing
This commit is contained in:
1 parent
aa3bfc9a76
commit
7c1fbbcf5b
2 files changed
+9
-3
No files matched your search
@@ -122,7 +122,7 @@ def log_message(text: str, file: Path = MEMORY_FILE):
|
||||
|
||||
def load_shortterm(file: Path = MEMORY_FILE) -> list[str]:
|
||||
try:
|
||||
return tail_lines(file, 15) # reads bottom 15 lines without loading the whole file
|
||||
return tail_lines(file, 67) # reads bottom 15 lines without loading the whole file
|
||||
except Exception as e:
|
||||
log_error(f"[{now_str()}] error reading shortterm: {e}")
|
||||
return []
|
||||
|
||||
Reference in new issue
Block a user