Commit 2efcdd2a authored by Javier Velázquez's avatar Javier Velázquez
Browse files

Correct bug in deletion by id

parent 70b220d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ class NSController:
                        id = i
                        break
                # Raise error if slice not found
                if not id:
                if id is None:
                    raise ValueError("Transport network slice not found")
                # Update slice database
                with open(os.path.join(SRC_PATH, "slice_ddbb.json"), 'w') as file: