Fixed AttributeError:cmd bug
Merge pull request #21 from ssirushchyshyn/master

Fix for bug "AttributeError:cmd"