Skip to content

Commit fc71f3f

Browse files
committed
Changed * to Warning
git push wq git commit cd.. cd --
1 parent aee05c9 commit fc71f3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

s_tracker.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def usageper_core():
149149

150150
def get_capacity(my_path):
151151
print('Capacity: {:6.2f} GB'.format(free_b/gb), "| {:,} bytes".format(free_b))
152+
152153

153154

154155
#-------------------------------------------------
@@ -161,7 +162,7 @@ def get_usedSpace(my_path):
161162

162163
def get_TotalSpace(my_path):
163164
if total_b/gb < min_gb_value: #if less than min_gb_value or 10GB, print with Warning message beside Remaining amount & indicator '*'
164-
print('*Free space: {:6.2f} GB'.format(total_b/gb), "| {:,} bytes".format(total_b), '\n' ,f'\n[Warning] {user_acc}, you are running low on Free storage.','\n')
165+
print('[Warning!]Free space: {:6.2f} GB'.format(total_b/gb), "| {:,} bytes".format(total_b), '\n' ,f'\n[Warning] {user_acc}, you are running low on Free storage.','\n')
165166
elif total_b/gb > min_gb_value: #if greater than min_gb_value or 10GB, print it normally without warning message.
166167
print('Free space: {:6.2f} GB'.format(total_b/gb), "| {:,} bytes".format(total_b))
167168

0 commit comments

Comments
 (0)