csgoh / roadmapper

Roadmapper - A Roadmap as Code (Rac) python library. Generate professional roadmap diagram using python code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calling Draw() method without setting footer caused error

csgoh opened this issue · comments

When roadmap draw() method is called without setting footer, it will throw the following error:

Traceback (most recent call last):
  File "c:\Lab\test-roadmap\test.py", line 16, in <module>
    my_roadmap.draw()
  File "C:\Lab\test-roadmap\lib\site-packages\generator\roadmap.py", line 217, in draw
    self.footer.draw(self.__painter)
AttributeError: 'NoneType' object has no attribute 'draw'

Fixed in 0.1.0-beta3