diff --git a/Automate.py b/Automate.py index c43504a..8782db2 100644 --- a/Automate.py +++ b/Automate.py @@ -48,7 +48,7 @@ class Server: "maintenance": False, "stop current config":False, - "timelapse":1, + "timelapse":3, "conf nb_images":1, "nb_images restantes":1 } diff --git a/Time_Lapse_Connection.py b/Time_Lapse_Connection.py index 04f791f..1c934f1 100644 --- a/Time_Lapse_Connection.py +++ b/Time_Lapse_Connection.py @@ -113,9 +113,8 @@ class TimeLapse: if __name__ == "__main__": print("FICHIER TIMELAPSE") TL = TimeLapse() - for i in range (0,3): - TL.Singleroutin() - time.sleep(1) + TL.Singleroutin() + time.sleep(1) """ FONCTIONNEL TL.get_Hygrodata() TL.pick_Picture() diff --git a/Time_Lapse_NoConnection.py b/Time_Lapse_NoConnection.py index 69c0d97..483494b 100644 --- a/Time_Lapse_NoConnection.py +++ b/Time_Lapse_NoConnection.py @@ -107,9 +107,8 @@ class TimeLapse: if __name__ == "__main__": print("FICHIER TIMELAPSE") TL = TimeLapse() - for i in range (0,3): - TL.Singleroutin() - time.sleep(1) + TL.Singleroutin() + time.sleep(1) """ FONCTIONNEL TL.get_Hygrodata() TL.pick_Picture() diff --git a/script.sh b/script.sh index 9e57bb7..ca0669a 100755 --- a/script.sh +++ b/script.sh @@ -11,5 +11,5 @@ if check_internet; then else echo "pas connecté à internet" python Time_Lapse_NoConnection.py -python Automate.py -fi \ No newline at end of file +fi +python Automate.py \ No newline at end of file