- make Add() calling convention consistent among all functions that
[plcapi.git] / PLC / Keys.py
index 37fddbd..542224d 100644 (file)
@@ -28,8 +28,6 @@ class Key(Row):
        return key_type
 
     def validate_key(self, key):
-        key = key.strip()
-
        # Key must not be blacklisted
        rows = self.api.db.selectall("SELECT 1 from keys" \
                                     " WHERE key = %(key)s" \