Browse Source

Fix empty

pull/136/head
Florian Mounier 11 years ago
parent
commit
d4d2f0e04f
  1. 3
      pygal/ghost.py

3
pygal/ghost.py

@ -98,7 +98,8 @@ class Ghost(object):
self.config(**self.__dict__)
self.config.__dict__.update(overrides or {})
series = self.make_series(self.raw_series)
secondary_series = self.make_series(self.raw_series2, len(series))
secondary_series = self.make_series(
self.raw_series2, len(series or []))
self._last__inst = self.cls(
self.config, series, secondary_series, self.uuid,
self.xml_filters)

Loading…
Cancel
Save