atareao / my-weather-indicator

A Weather Indicator for Linux Desktop (Plasma, GNOME, MATE, XFCE,...)

Home Page:https://www.atareao.es/aplicacion/my-weather-indicator-para-ubuntu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use semantic names for functions

diegolagoglez opened this issue · comments

commented

What is supposed to do function 'cambia' (in forecastw.py and myweatherindicator.py)? What should change?

So, refactor the name of that function to something like:

  • switch_temperature_units(from, to, value)
  • from_celsius_to_fahrenheit (several functions)