#! /bin/sh /usr/share/dpatch/dpatch-run ## 02_btdownloadcurses_increase_significant_digit.dpatch by Micah Anderson ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ --- bittornado.orig/btdownloadcurses.py +++ bittornado/btdownloadcurses.py @@ -79,7 +79,7 @@ i += 1 n >>= 10 n = float(n) / (1 << 10) - size = '%s (%.0f %s)' % (size, n, unit[i]) + size = '%s (%.2f %s)' % (size, n, unit[i]) return size