Commits

Zhang Huangbin  committed d151c5b

Fixed: Remove unnecessary argument while converted during string formatting. Thanks FredZ@forum for his report.

  • Participants
  • Parent commits 01807a8

Comments (0)

Files changed (1)

File libs/iredutils.py

     bytes = float(value)
     base = 1024
     if bytes < base:
-        return "%d Bytes" % (bytes, bytes != 1 and 's' or '')
+        return "%d Bytes" % (bytes)
     elif bytes < base * base:
         return "%d KB" % (bytes / base)
     elif bytes < base * base * base: