diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-05-01 12:55:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-05-01 12:55:57 +0300 |
commit | 9c7bf04a8e00fa9813803aa51a7806c3b732a275 (patch) | |
tree | f81b13e33e8df6cf6c2b7c0041fc98ded747c3b3 /ttystatus/bytespeed.py | |
parent | ce31ea6dc01898bf03a1ba7e86b263c12802fbde (diff) | |
download | python-ttystatus-9c7bf04a8e00fa9813803aa51a7806c3b732a275.tar.gz |
Whitespace fixes for PEP8
Diffstat (limited to 'ttystatus/bytespeed.py')
-rw-r--r-- | ttystatus/bytespeed.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ttystatus/bytespeed.py b/ttystatus/bytespeed.py index 098dd4a..06c5bb0 100644 --- a/ttystatus/bytespeed.py +++ b/ttystatus/bytespeed.py @@ -36,10 +36,10 @@ class ByteSpeed(ttystatus.Widget): def render(self, width): units = ( - (1024**4, 2, 'TiB/s'), - (1024**3, 2, 'GiB/s'), - (1024**2, 2, 'MiB/s'), - (1024**1, 1, 'KiB/s'), + (1024 ** 4, 2, 'TiB/s'), + (1024 ** 3, 2, 'GiB/s'), + (1024 ** 2, 2, 'MiB/s'), + (1024 ** 1, 1, 'KiB/s'), ) if len(self._data_points) < 2: |