Commits

Steve Losh committed b772564

Cast the hell out of template settings. Closes #2.

  • Participants
  • Parent commits 31c010f

Comments (0)

Files changed (1)

File stoat/stemplates.py

     return settings.STOAT_TEMPLATES[tname]
 
 def get_fields(tname=settings.STOAT_DEFAULT_TEMPLATE):
-    return [f if len(f) >= 3 else f + ({},)
+    return [f if len(f) >= 3 else list(f) + [{},]
             for f in get_template(tname)[1]]
 
 def get_fields_bare(tname=settings.STOAT_DEFAULT_TEMPLATE):