Fix warning for unresolvable UUID
Exception while catching an exception. Try to make an inception joke of that.
This commit is contained in:
@@ -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"):
|
||||||
|
|||||||
Reference in New Issue
Block a user