fixed hasattr

This commit is contained in:
Krzysztof Jagiello
2011-06-06 16:38:06 +02:00
committed by Andrew Williams
parent a33d73bd91
commit 09e10e7e92

View File

@@ -87,7 +87,7 @@ class TS3Proto():
@property
def logger(self):
if not hasattr(self, _logger):
if not hasattr(self, "_logger"):
self._logger = logging.getLogger(__name__)
return self._logger