File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import json
66
77default_settings = {
8- "possible_modules" : json .dumps (["aw-server" ,
9- "aw-server-rust" ,
10- "aw-watcher-afk" ,
11- "aw-watcher-window" , ]),
128 "autostart_modules" : json .dumps (["aw-server-rust" ,
139 "aw-server" ,
1410 "aw-watcher-afk" ,
@@ -26,5 +22,4 @@ class AwQtSettings:
2622 def __init__ (self , testing : bool ):
2723 config_section = qt_config ["aw-qt" if not testing else "aw-qt-testing" ]
2824
29- self .possible_modules : List [str ] = json .loads (config_section ["possible_modules" ])
3025 self .autostart_modules : List [str ] = json .loads (config_section ["autostart_modules" ])
Original file line number Diff line number Diff line change @@ -182,12 +182,6 @@ def __init__(self, testing: bool = False) -> None:
182182 self .autostart_modules : Set [str ] = set (self .settings .autostart_modules )
183183 self .testing = testing
184184
185- for name in self .settings .possible_modules :
186- if _locate_executable (name ):
187- self .modules [name ] = Module (name , testing = testing )
188- else :
189- logger .warning ("Module '{}' not found but was in possible modules" .format (name ))
190- # Is this actually a good way to do this? merged from dev/autodetect-modules
191185 self .discover_modules ()
192186
193187 def discover_modules (self ) -> None :
You can’t perform that action at this time.
0 commit comments