From a77f4aa5f482288fb809838103d7b2bb293e6fc3 Mon Sep 17 00:00:00 2001 From: "Nicolas F." Date: Fri, 20 Jun 2014 19:53:34 +0200 Subject: [PATCH] Fix warning for unresolvable UUID Exception while catching an exception. Try to make an inception joke of that. --- overviewer_core/aux_files/genPOI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/aux_files/genPOI.py b/overviewer_core/aux_files/genPOI.py index 2266c49..d71abaa 100755 --- a/overviewer_core/aux_files/genPOI.py +++ b/overviewer_core/aux_files/genPOI.py @@ -136,7 +136,7 @@ class PlayerDict(dict): if 'name' in profile: return profile['name'] 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): if not hasattr(rset, "_pois"):