Fix NameError in refresh method
Merge pull request #15 from ryo0301/fix_refresh

Fix NameError in refresh method