Fix AttributeError

Do not throw AttributeError for # -*- coding: utf-8 -*-
it's common used for python utf-8 settting
Merge pull request #9 from chassing/master

Fix AttributeError