tally
Browse files
stats
CHANGED
@@ -121,6 +121,9 @@ def main():
|
|
121 |
if counts[ext] == 0 or ext not in EXT2COLOR:
|
122 |
continue
|
123 |
print(f"{EXT2COLOR[ext]}{ext} {_('files')}: {counts[ext]}{RESET}")
|
|
|
|
|
|
|
124 |
|
125 |
|
126 |
if __name__ == "__main__":
|
|
|
121 |
if counts[ext] == 0 or ext not in EXT2COLOR:
|
122 |
continue
|
123 |
print(f"{EXT2COLOR[ext]}{ext} {_('files')}: {counts[ext]}{RESET}")
|
124 |
+
tally_color = GREEN if total_files >= 200 else ORANGE
|
125 |
+
print(f"{tally_color}{_('Total files: {}')}{RESET}".format(total_files))
|
126 |
+
print()
|
127 |
|
128 |
|
129 |
if __name__ == "__main__":
|