From 05df448155a727e053992997d4898c54b19b4405 Mon Sep 17 00:00:00 2001 From: Paul-Louis NECH Date: Sat, 30 Nov 2019 15:24:42 +0100 Subject: [PATCH] refactor(baby): SMS only on success --- baby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baby.py b/baby.py index b6e2d20..e0c9b33 100644 --- a/baby.py +++ b/baby.py @@ -15,7 +15,7 @@ def main(): if "Out of stock" not in stock: sms("%s en stock: \"%s\"\n-> %s" % (name, stock, url)) else: - sms("%s pas encore en stock... à suivre ;)" % name) + print("%s pas en stock...") def sms(msg: str): -- libgit2 0.27.0