fix typo
authorTony Mack <tmack@cs.princeton.edu>
Tue, 1 Sep 2009 01:19:20 +0000 (01:19 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 1 Sep 2009 01:19:20 +0000 (01:19 +0000)
sfa/methods/register.py

index cf4ae3f..a27cedf 100644 (file)
@@ -51,7 +51,7 @@ class register(Method):
             pkey = Keypair(create=True)
             if 'key' in record and record['key']:
                 if isinstance(record['key'], list):
-                    pub_key = reocrd['key'][0]
+                    pub_key = record['key'][0]
                 else:
                     pub_key = record['key']
                 pkey = convert_public_key(pub_key)