From 0a5478fc9c0d37246e93b51b64413d19fa490622 Mon Sep 17 00:00:00 2001 From: Justyna Zarzycka Date: Fri, 5 Jun 2020 18:05:01 +0200 Subject: [PATCH] =?UTF-8?q?naprawa=20b=C5=82=C4=99du=20z=20pogod=C4=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Justyna.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Justyna.py b/Justyna.py index 0c59127..db1874b 100644 --- a/Justyna.py +++ b/Justyna.py @@ -136,7 +136,7 @@ class main(): # Uzyskanie danych od agenta ocena_burakow = self.ocen_ile_burakow() ocena_chwastow = self.ocen_ile_chwastow() - pogoda = self.field.weather + pogoda = self.field.get_pogoda_name() print('chwasty: ' + ocena_chwastow) print('buraki: ' + ocena_burakow) print('pogoda: ' + pogoda) @@ -146,7 +146,6 @@ class main(): result = data_to_dict(data, tree) print('czy traktor chce pracowac: ' + result) - def licz_chwasty_buraki(self): chwasty = 0 buraki = 0