Open GoogleCodeExporter opened 9 years ago
[deleted comment]
I doubt this is related to the issue you've raised, but I came across this bug
while looking for the answer to a problem that is raised on the same line of
code.
I got the same error running the demo.
<snip> kytten/theme.py", line 389, in __getitem__
if key.startswith('image'):
AttributeError: 'list' object has no attribute 'startswith'
The problem was I was including the "theme.json" in the theme path argument.
theme = kytten.Theme(
os.path.join(
os.getcwd(),
'theme/theme.json'
)
)
What you're meant to do is just put the path in.
theme = kytten.Theme(
os.path.join(
os.getcwd(),
'theme'
)
)
This resolved the "issue".
Original comment by adam.lw....@gmail.com
on 23 Aug 2012 at 1:26
Original issue reported on code.google.com by
michael....@gmail.com
on 29 Dec 2009 at 12:41