Update modutils.py

This commit is contained in:
Vishal 2024-03-28 00:07:48 +05:30 committed by GitHub
parent a9faabb379
commit 313d7385b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -186,7 +186,10 @@ def delete_user_system_scripts() -> None:
shutil.rmtree(path)
print('User system scripts deleted.')
_babase.screenmessage('Deleted User System Scripts', color=(0, 1, 0))
_babase.screenmessage(f'Closing {_babase.appname()} to make changes.', color=(0, 1, 0))
_babase.screenmessage(
f'Closing {_babase.appname()} to make changes.',
color=(0, 1, 0)
)
_babase.apptimer(2.0, _babase.quit)
else:
print(f"User system scripts not found at '{path}'.")