Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 757d8bf2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Convert partition size to int before CheckSize" into main am: be56ac9a am: 476c4587

parents 88152864 476c4587
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2619,7 +2619,9 @@ def CheckSize(data, target, info_dict):
    device = p.device
    if "/" in device:
      device = device[device.rfind("/")+1:]
    limit = info_dict.get(device + "_size")
    limit = info_dict.get(device + "_size", 0)
    if isinstance(limit, str):
      limit = int(limit, 0)
  if not fs_type or not limit:
    return