Ver Fonte

fix how tag is returned when editing a node

oz123 há 11 anos atrás
pai
commit
af36e001ae
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      pwman/data/tags.py

+ 2 - 1
pwman/data/tags.py

@@ -43,4 +43,5 @@ class Tag:
         self._name = enc.encrypt(name)
 
     def __str__(self):
-        return self._name
+        enc = CryptoEngine.get()
+        return enc.decrypt(self._name)