Skip to content

Commit 21c0d09

Browse files
committed
[beta release] Added all new features and revamped the UI
1 parent 86016a5 commit 21c0d09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/factorio_mod_downloader/mod_downloader/mod_downloader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ def __init__(self, mod_url, output_path, app):
1717
self.daemon = True
1818
self.output_path = output_path
1919
self.mod_url = 'https://re146.dev/factorio/mods/en#' + mod_url
20-
self.chrome_options = self._init_selenium()
2120
self.app = app
21+
self.chrome_options = self._init_selenium()
22+
2223

2324
def run(self):
2425
self.download_mod_with_dependencies(self.mod_url, self.output_path)
@@ -29,7 +30,7 @@ def run(self):
2930

3031
def _init_selenium(self):
3132
# Set up chrome options
32-
self.log_info("Loading application dependencies.")
33+
self.log_info("Loading application dependencies.\n")
3334
chromedriver_autoinstaller.install()
3435
chrome_options = Options()
3536
chrome_options.add_argument("--headless") # Run in headless mode (without a GUI)

0 commit comments

Comments
 (0)