Repos / pytaku / 1fd008bb80
commit 1fd008bb80e556e2340d383bafe70432f0b4c960
Author: Bùi Thành Nhân <hi@imnhan.com>
Date: Sun Aug 23 23:36:32 2020 +0700
remove debugging print statement
diff --git a/src/pytaku/main.py b/src/pytaku/main.py
index 95b7721..9f8deb2 100644
--- a/src/pytaku/main.py
+++ b/src/pytaku/main.py
@@ -542,7 +542,6 @@ def api_read():
if reads:
for r in reads:
- print(">> reading", request.user_id, r)
read(
request.user_id, r["site"], r["title_id"], r["chapter_id"],
)
@@ -553,4 +552,7 @@ def api_read():
)
# TODO: rewrite read/unread to do bulk updates instead of n+1 queries like these.
# ... Or maybe not. SQLite doesn't mind.
+
+ # Also TODO: maybe a separate "read all from title" API would be cleaner & easier on
+ # FE side.
return {}