diff options
Diffstat (limited to 'Demo/scripts/ftpstats.py')
| -rwxr-xr-x | Demo/scripts/ftpstats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/scripts/ftpstats.py b/Demo/scripts/ftpstats.py index 19ad392..cb0c242 100755 --- a/Demo/scripts/ftpstats.py +++ b/Demo/scripts/ftpstats.py @@ -104,7 +104,7 @@ def main(): def showbar(dict, title): n = len(title) - print('='*((70-n)/2), title, '='*((71-n)/2)) + print('='*((70-n)//2), title, '='*((71-n)//2)) list = [] for key in sorted(dict.keys()): n = len(str(key)) @@ -124,7 +124,7 @@ def show(dict, title, maxitems): if len(dict) > maxitems: title = title + ' (first %d)'%maxitems n = len(title) - print('='*((70-n)/2), title, '='*((71-n)/2)) + print('='*((70-n)//2), title, '='*((71-n)//2)) list = [] for key in dict.keys(): list.append((-len(dict[key]), key)) |
