fix bug regarding site_id
[sfa.git] / sfa / plc / slices.py
index 28c39fd..7e49e62 100644 (file)
@@ -227,7 +227,8 @@ class Slices(SimpleStorage):
             slice['node_ids'] = []
         else:
             slice = slices[0]
-            slice_id = slice['slice_id']    
+            slice_id = slice['slice_id']
+            site_id = slice['site_id']    
         # get the list of valid slice users from the registry and make 
         # they are added to the slice 
         researchers = record.get('researcher', [])