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