Skip to content

Commit 1c01a41

Browse files
committed
- Fixed icon not loading in .exe mode
1 parent f577dd6 commit 1c01a41

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
@@ -111,7 +111,7 @@ def get_icon(self) -> None:
111111
base_path: str = sys._MEIPASS
112112
self.icon_png_path = os.path.join(base_path, 'nse_logo.png')
113113
self.icon_ico_path = os.path.join(base_path, 'nse_logo.ico')
114-
self.load_nse_icon = True if not self.load_nse_icon else None
114+
self.load_nse_icon = True
115115
except AttributeError:
116116
if self.load_nse_icon:
117117
icon_png_raw: requests.Response = requests.get(self.url_icon_png, headers=self.headers, stream=True)

0 commit comments

Comments
 (0)