Browse Source

Remove max and min values from the output

master
Elis Hirwing 2 years ago
parent
commit
2215155b22
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 8
      src/csms12.py

8
src/csms12.py

@ -44,10 +44,10 @@ class CSMS12:
value = self.getScaledValue()
if 75 <= value <= 100:
return("Very Moist (Value: %s, Water: 100, Air: 0)" % value)
return("Very Moist (Value: %s)" % value)
elif 50 <= value <= 75:
return("Quite Moist (Value: %s, Water: 100, Air: 0)" % value)
return("Quite Moist (Value: %s)" % value)
elif 25 <= value <= 50:
return("Kinda Dry (Value: %s, Water: 100, Air: 0)" % value)
return("Kinda Dry (Value: %s)" % value)
elif 0 <= value <= 25:
return("Very Dry (Value: %s, Water: 100, Air: 0)" % value)
return("Very Dry (Value: %s)" % value)
Loading…
Cancel
Save