Skip to content

Commit

Permalink
Keep threads under screenscraper settings
Browse files Browse the repository at this point in the history
  • Loading branch information
milouk committed Oct 18, 2024
1 parent 1a6db0c commit 14fbf1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"roms": "/mnt/sdcard/ROMS",
"logos": "assets/logos",
"log_level": "info",
"threads": 1,
"colors": {
"primary": "#bb7200",
"primary_dark": "#7f4f00",
Expand Down
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def load_config(self, config_file):
self.dev_password = self.config.get("screenscraper").get("devpassword")
self.username = self.config.get("screenscraper").get("username")
self.password = self.config.get("screenscraper").get("password")
self.threads = self.config.get("screenscraper").get("threads")
self.content = self.config.get("screenscraper").get("content")
self.box_enabled = self.content["box"]["enabled"]
self.preview_enabled = self.content["preview"]["enabled"]
self.synopsis_enabled = self.content["synopsis"]["enabled"]
self.threads = self.config.get("threads")
self.get_user_threads()
for system in self.config["screenscraper"]["systems"]:
self.systems_mapping[system["dir"].lower()] = system
Expand Down

0 comments on commit 14fbf1e

Please sign in to comment.