optimized screen clear

This commit is contained in:
2021-06-06 14:21:57 +02:00
parent 3d9d1a1d5f
commit 58d0e6191c

View File

@@ -3,7 +3,7 @@
#
# timeTrack.py
# by 4nima
# v.2.0.3
# v.2.0.4
#
#########################
# simple time tracking with database
@@ -458,6 +458,7 @@ class TimeTrack:
pass
def print_time_entry(self, STARTTIME='', ENDTIME='', ACTIVITY=''):
self.clear_screen()
s = (ENDTIME - STARTTIME).seconds
hours, remainder = divmod(s, 3600)
minutes, seconds = divmod(remainder, 60)