0

Fix warning for unresolvable UUID

Exception while catching an exception. Try to make an inception joke of that.
This commit is contained in:
Nicolas F.
2014-06-20 19:53:34 +02:00
parent 9d7e1d2e02
commit a77f4aa5f4

View File

@@ -136,7 +136,7 @@ class PlayerDict(dict):
if 'name' in profile: if 'name' in profile:
return profile['name'] return profile['name']
except (ValueError, urllib2.URLError): except (ValueError, urllib2.URLError):
logging.warning("Unable to get player name for UUID %s", playername) logging.warning("Unable to get player name for UUID %s", self._name)
def handlePlayers(rset, render, worldpath): def handlePlayers(rset, render, worldpath):
if not hasattr(rset, "_pois"): if not hasattr(rset, "_pois"):