peetzweg / papr

Command line tool to generate a PDF Calendars
35 stars 1 forks source link

default font's are not set correctly due to new two font option #18

Closed peetzweg closed 8 years ago

peetzweg commented 8 years ago

Error due to new option to use 2 fonts

./papr.py -p A3 oneyear
Traceback (most recent call last): File "./papr.py", line 136, in sys.exit(main()) File "./papr.py", line 109, in main environment.font = environment.fonts.pop() # last provided font is used generally AttributeError: 'str' object has no attribute 'pop'