Skip to content

Commit bf9edde

Browse files
committed
- Show time difference as integer in messagebox
1 parent d6e6614 commit bf9edde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NSE_Option_Chain_Analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ def main(self) -> None:
13821382
(current_time.second - self.previous_time.second) / 60
13831383
if time_difference >= self.time_difference_factor and self.warn_late_update:
13841384
messagebox.showinfo(title="Late Update", message=f"The data from the server was last updated about "
1385-
f"{time_difference} minutes ago.")
1385+
f"{int(time_difference)} minutes ago.")
13861386
self.previous_time = current_time
13871387
else:
13881388
self.root.after((self.seconds * 1000), self.main)

0 commit comments

Comments
 (0)