naprawa błędu z pogodą
This commit is contained in:
parent
c78b079d89
commit
0a5478fc9c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user