From ae4dcdb609a832c44ebf36cdbb057dd2ec126c18 Mon Sep 17 00:00:00 2001
From: Denis Merigoux <denis.merigoux@gmail.com>
Date: Thu, 4 Jul 2019 17:55:32 -0700
Subject: [PATCH] Only send to Telegram if example

---
 solveur.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solveur.py b/solveur.py
index 2243690..f6353c9 100644
--- a/solveur.py
+++ b/solveur.py
@@ -107,7 +107,7 @@ def print_check_results_menage(
 
     file.close()
 
-    if post_to_telegram:
+    if post_to_telegram and c == sat:
         post_file(filename)
 
     return name.replace(" ", "_") + ".txt"
-- 
GitLab