From 8fb3137d77c1ca892e122a6dc31150d6243f2e5e Mon Sep 17 00:00:00 2001 From: Cinabre Date: Wed, 16 Dec 2020 12:10:43 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20d'un=20probl=C3=A8me=20de=20print?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_manga.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_manga.py b/update_manga.py index 48e7216..66feb41 100644 --- a/update_manga.py +++ b/update_manga.py @@ -27,7 +27,7 @@ def update_manga(id): if int(last_chapt) == int(new_chapt) : print("Nous sommes a jour") else : - print("Pas a jour ! Le dernier chapitre est %s " % ) + print("Pas a jour ! Le dernier chapitre est %s " % new_chapt) cursor.execute("UPDATE manga SET chap = '{}' WHERE id = '{}'".format(get_last_chap(url), get_id(url))) conn.commit()