Remove use of ternary operator
Remove use of ternary operator

OpenEnergyDashboard/OED,OpenEnergyDashboard/OED,beloitcollegecomputerscience/OED,beloitcollegecomputerscience/OED,OpenEnergyDashboard/OED,OpenEnergyDashboard/OED,beloitcollegecomputerscience/OED,beloitcollegecomputerscience/OED