

def weather(self, temperature_type):
    if (not ('Weather' in self)):
        return ''
    if ((temperature.lower() == 'celsius') or (temperature_type.lower() == 'c')):
        temperature = self.data['Celsius']
    else:
        temperature = self.data['Fahrenheit']
    weather = '{0}&deg; {1}'.format(temperature, self.data['Description'])
    return weather

dataset/ETHPy150Open nathangrigg/dayone_export/dayone_export/__init__.py Entry.weather/VarMisuse@31/38 `temperature_type`->`temperature`