From 7644e52c295512f60b40c137dbc6398992c1616e Mon Sep 17 00:00:00 2001 From: Wojciech Wojnowski <wojciech.wojnowski@pg.edu.pl> Date: Sat, 23 Oct 2021 16:17:03 +0000 Subject: [PATCH] Update main.py --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 1574751..923cbf8 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,6 @@ W.Wojnowski 2021 ''' # imports: -import ast import tkinter as tk from tkinter import ttk from tkinter import messagebox @@ -529,7 +528,7 @@ class Report: create_report_field('8.', self.tabs[7], self.criteria[7], ('Approximate energy consumption per analysis [W]: ' + - str(round(float(self.criteria[7].valuevar.get()), 2)))) + self.criteria[7].valuevar.get())) create_report_field('9.', self.tabs[8], self.criteria[8], (self.criteria[8].optionvar.get())) -- GitLab