oz123 11 anos atrás
pai
commit
2f6c205292
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      pwman/data/nodes.py

+ 4 - 1
pwman/data/nodes.py

@@ -117,7 +117,10 @@ class NewNode(object):
     @property
     def tags(self):
         enc = CryptoEngine.get()
-        return [enc.decrypt(tag).strip() for tag in filter(None,self._tags)]
+        try:
+            return [enc.decrypt(tag) for tag in filter(None, self._tags)]
+        except Exception:
+            return [tag for tag in filter(None, self._tags)]
 
     @tags.setter
     def tags(self, value):