From 7da407310cb436704707bbdba6b00bdcf50ba4ab Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 6 Aug 2018 15:34:54 +0000 Subject: [PATCH] Clean up --- import_points.py | 2 +- plusone.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/import_points.py b/import_points.py index 3c2b8c3..85572d7 100644 --- a/import_points.py +++ b/import_points.py @@ -10,7 +10,7 @@ from plusone import PointsDB async def add_points(db, room, points): for (nick, amount) in points: - print(f"&{room}: {mention(nick, ping=False)} + {amount}") + #print(f"&{room}: {mention(nick, ping=False)} + {amount}") await db.add_points(room, nick, amount) def main(to_dbfile, from_dbfile, room): diff --git a/plusone.py b/plusone.py index acda07d..b2687be 100644 --- a/plusone.py +++ b/plusone.py @@ -38,7 +38,6 @@ class PointsDB(yaboli.Database): @yaboli.operation def points_of(self, db, room, nick): normalized_nick = normalize(nick) - print(nick, normalized_nick, room) res = db.execute(( "SELECT points FROM points " "WHERE normalized_nick=? AND room=?"