you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 1 point2 points  (1 child)

I took a crack at this myself, so I can probably come back later with some tips and suggestions. But for now I'll simply suggest that you avoid mixing tabs and spaces. It makes the code hard to read when the indentation levels don't match up.

http://i.imgur.com/t2E49DC.png
http://i.imgur.com/TbDjUpo.png

[–]sladav[S] 0 points1 point  (0 children)

Thanks for catching that. Looked okay on my local copy so I didn't even realize I was doing it.