|
|
@@ -27,7 +27,7 @@ def update_manga(id): |
|
|
if int(last_chapt) == int(new_chapt) : |
|
|
if int(last_chapt) == int(new_chapt) : |
|
|
print("Nous sommes a jour") |
|
|
print("Nous sommes a jour") |
|
|
else : |
|
|
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))) |
|
|
cursor.execute("UPDATE manga SET chap = '{}' WHERE id = '{}'".format(get_last_chap(url), get_id(url))) |
|
|
conn.commit() |
|
|
conn.commit() |
|
|
|
|
|
|
|
|
|