From e3ca0f768220d0931e466d0b1d72ee0ddc9a4d15 Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Wed, 18 Jun 2025 10:24:22 +0200 Subject: [PATCH] JOE FIGHT!! --- Fotovoltaico.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fotovoltaico.py b/Fotovoltaico.py index f95a750..27a2af7 100644 --- a/Fotovoltaico.py +++ b/Fotovoltaico.py @@ -50,5 +50,6 @@ result_ac_energies_to_csv_df = suppress_printing(simulate_unstacked_productivity result_ac_energies_to_csv_df.to_csv(path_export, encoding='utf-8') os.startfile(path_export) -joe.terminate() -joe.kill() \ No newline at end of file +if isJoe: + joe.terminate() + joe.kill() \ No newline at end of file