bug-fix
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Fri, 13 Nov 2009 15:38:44 +0000 (15:38 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Fri, 13 Nov 2009 15:38:44 +0000 (15:38 +0000)
sfa/server/sfa-server.py

index 8639d03..4c5c417 100755 (executable)
@@ -98,7 +98,7 @@ def main():
     # found in the authorities directory, generate a random one
     if not os.path.exists(server_key_file):
         hrn = config.SFA_INTERFACE_HRN.lower()
-        key_file = os.sep.join([hierarchy.basedir, hrn, hrn+".pkey")
+        key_file = os.sep.join([hierarchy.basedir, hrn, hrn+".pkey"])
         if not os.path.exists(key_file):
             # if it doesnt exist then this is probably a fresh interface
             # with no records. Generate a random keypair for now