Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheeo committed Jul 30, 2018
1 parent 46d01b0 commit cdf44be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lobbyconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ async def command_hello(self, message):
# Country
# -------
try:
self.player.country = str(gi.country(self.peer_address.host).iso_code)
self.player.country = str(gi.country(self.peer_address.host).country.iso_code)
except (geoip2.errors.AddressNotFoundError,ValueError):
self.player.country = ''

Expand Down

0 comments on commit cdf44be

Please sign in to comment.