(self, c)
callback if we used Tor's GETINFO ip-to-country
callback if we used Tor's GETINFO ip-to-country
callback if we used Tor s GETINFO ip - to - country
def _set_country(self, c):
        """
        callback if we used Tor's GETINFO ip-to-country
        """

        self.location.countrycode = c.split()[0].split('=')[1].strip().upper()
def _set_country ( self , c ) : self . location . countrycode = c . split ( ) [ 0 ] . split ( '=' ) [ 1 ] . strip ( ) . upper ( )