Commits

Rodrigo Bistolfi committed 0e49fdc

Fix type error in mountpoints.py

  • Participants
  • Parent commits 04d9472

Comments (0)

Files changed (1)

File vinstall/controller/mountpoints.py

         """Save root partition selection for use in other controllers
 
         """
-        root = next(p for p, m in data if m == "/")
+        root = next(p for p, m in data.items() if m[0] == "/")
         self.config["target_device"] = root
 
     def mount_target(self, data):