diff --git a/gweatherrouting/core/grib.py b/gweatherrouting/core/grib.py index 5b5b83e..37d1b06 100644 --- a/gweatherrouting/core/grib.py +++ b/gweatherrouting/core/grib.py @@ -108,7 +108,7 @@ def getWind (self, tt, bounds): t1 = int (int (round (t)) / 3) * 3 t2 = int (int (round (t+6)) / 3) * 3 - if t2 == t1: + if t2 == t1: t1 -= 3 lon1 = min (bounds[0][1], bounds[1][1]) diff --git a/gweatherrouting/gtk/widgets/mpl.py b/gweatherrouting/gtk/widgets/mpl.py index 67518f3..bfb6e1c 100644 --- a/gweatherrouting/gtk/widgets/mpl.py +++ b/gweatherrouting/gtk/widgets/mpl.py @@ -30,7 +30,7 @@ def __init__(self, parent): self.connect("draw", self.draw) def plotDrawer(self, w, h, plt, s): - pass + return None def draw(self, area, ctx): a = self.get_allocation()