When you look at a file's properties, it first tells you the file's "real" size, and then it tells you the size on the drive - which one does the python script want?
The "real" size, expressed in bytes. You didn't brick your LD because of this error, because I experimented with all different values, correct and incorrect, and it only would hang in the boot process when wrong.