Use type unicode for argument location (#1503)
Use type unicode for argument location (#1503)

* Use type unicode for argument location

Fix for issue with invalid <lambda> value for location argument, e.g.: invalid <lambda> value: u'Pra\xe7a' when it contains special characters like "ç".

* Parse location for both command line and json

Will now correctly parse location both from command line and JSON file.

* Better naming for function to parse unicode str

geminiyellow/PokemonGo-Bot,pengzhangdev/PokemonGo-Bot,dtee/PokemonGo-Bot,joergpatz/PokemonGo-Bot,cmezh/PokemonGo-Bot,geminiyellow/PokemonGo-Bot,goedzo/PokemonGo-Bot,dmateusp/PokemonGo-Bot,dtee/PokemonGo-Bot,tibotic/simple-pokemongo-bot,pengzhangdev/PokemonGo-Bot,heihachi/PokemonGo-Bot,sinistance/PokemonGo-Bot,lythien/pokemongo,sinistance/PokemonGo-Bot,jasonliu119/PokemonGo-Bot,jasonliu119/PokemonGo-Bot,bbiiggppiigg/PokemonGo-Bot,halsafar/PokemonGo-Bot,goshan/PokemonGo-Bot,lythien/pokemongo,reddivision/PokemonGo-Bot,Gobberwart/PokemonGo-Bot,pengzhangdev/PokemonGo-Bot,dtee/PokemonGo-Bot,cmezh/PokemonGo-Bot,codybaldwin/PokemonGo-Bot,dhluong90/PokemonGo-Bot,Quantra/PokemonGo-Bot,reddivision/PokemonGo-Bot,dtee/PokemonGo-Bot,Quantra/PokemonGo-Bot,dhluong90/PokemonGo-Bot,DBa2016/PokemonGo-Bot,dmateusp/PokemonGo-Bot,Shoh/PokemonGo-Bot,dhluong90/PokemonGo-Bot,Moonlight-Angel/PokemonGo-Bot,Gobberwart/PokemonGo-Bot,halsafar/PokemonGo-Bot,Lordness/poklord,Gobberwart/PokemonGo-Bot,AMiketta/PokemonGo-Bot,heihachi/PokemonGo-Bot,tibotic/simple-pokemongo-bot,pokemongo-dev/PokemonGo-Bot,AcorpBG/PokemonGo-Bot,lythien/pokemongo,pokemongo-dev/PokemonGo-Bot,bbiiggppiigg/PokemonGo-Bot,AbelIngrand/PokemonGo-Bot,yahwes/PokemonGo-Bot,cmezh/PokemonGo-Bot,AMiketta/PokemonGo-Bot,Compjeff/PokemonGo-Bot,DBa2016/PokemonGo-Bot,Shoh/PokemonGo-Bot,Gobberwart/PokemonGo-Bot,halsafar/PokemonGo-Bot,pengzhangdev/PokemonGo-Bot,goshan/PokemonGo-Bot,goedzo/PokemonGo-Bot,cmezh/PokemonGo-Bot,dhluong90/PokemonGo-Bot,Compjeff/PokemonGo-Bot,AcorpBG/PokemonGo-Bot,DayBr3ak/PokemonGo-Bot,goedzo/PokemonGo-Bot,bbiiggppiigg/PokemonGo-Bot,yahwes/PokemonGo-Bot,goedzo/PokemonGo-Bot,joergpatz/PokemonGo-Bot,halsafar/PokemonGo-Bot,DBa2016/PokemonGo-Bot,codybaldwin/PokemonGo-Bot,DayBr3ak/PokemonGo-Bot,bbiiggppiigg/PokemonGo-Bot,heihachi/PokemonGo-Bot,lythien/pokemongo,heihachi/PokemonGo-Bot,AbelIngrand/PokemonGo-Bot,Moonlight-Angel/PokemonGo-Bot,DBa2016/PokemonGo-Bot,Lordness/poklord