Commit 2cdbadea authored by nimrod's avatar nimrod
Browse files

Fix another typo.

parent 6b16325c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -134,7 +134,9 @@ def main():
        print("The last but 1 file is empty, can't calculate size difference.")
        exit(3)

    size_ratio = 100 * abs((files[1] - files[0]) / files[1])
    size_ratio = 100 * abs(
        (files[1]["Size"] - files[0]["Size"]) / files[1]["Size"]
    )
    if size_ratio > args.size_critical_threshold:
        print(
            "The size difference between the latest 2 file is {}%.".format(