Skip to content

Commit 7474c99

Browse files
committed
Fixed incorrect expiry dates on login screen when you switch between Index and Stock mode
1 parent 1b4800f commit 7474c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NSE_Option_Chain_Analyzer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ def change_option_mode(self) -> None:
525525
self.option_mode_btn.config(text='Index')
526526
self.index_menu.config(state='readonly')
527527
self.stock_menu.config(state=DISABLED)
528+
self.get_data()
528529

529530
self.config_parser.set('main', 'option_mode', f'{self.option_mode}')
530531
with open('NSE-OCA.ini', 'w') as f:

0 commit comments

Comments
 (0)