Browse Source

Remove max and min values from the output

master
Elis Hirwing 1 year ago
parent
commit
2215155b22
Signed by: etu <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/csms12.py

+ 4
- 4
src/csms12.py View File

@@ -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