Browse Source

fixed bug, {} is a dict, not a set

digital 8 years ago
parent
commit
5da85bb522
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pin/__init__.py

+ 1 - 1
pin/__init__.py

@@ -27,7 +27,7 @@ import digilib.network
 
 lpin = logging.getLogger(__name__+".pin")
 
-_pins_for_cleanup = {}
+_pins_for_cleanup = set()
 
 # Error messages
 ERROR_TAKES_ARGUMENTS = "{} takes {} {} argument(s): {}"