fixed potential problem with unwanted translation of log messages

This commit is contained in:
mdipierro
2013-07-08 08:47:24 -05:00
parent b4fe6720ae
commit 89e158cd1d
3 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ class Messages(Settings):
def __getattr__(self, key):
value = self[key]
if isinstance(value, str):
return self.T(value)
return str(self.T(value))
return value
class FastStorage(dict):