Compare commits
No commits in common. "80946611308e665ac296e6a4e660a135c0469f93" and "a0fb05c31944c2a2e8000696d0e3e39ddb9e9f3c" have entirely different histories.
8094661130
...
a0fb05c319
2 changed files with 2 additions and 3 deletions
|
@ -233,7 +233,7 @@ def get_available_mods(cfg: Config) -> list:
|
|||
ret = []
|
||||
with os.scandir(cfg.mods_dir) as it:
|
||||
for entry in it:
|
||||
if entry.is_dir() and entry.name != "__pycache__":
|
||||
if entry.is_dir():
|
||||
ret.append(entry.name)
|
||||
return ret
|
||||
|
||||
|
|
|
@ -194,9 +194,8 @@ class AppFrame(ttk.Frame):
|
|||
|
||||
def command_save_button(self):
|
||||
prof = self.profile_var.get()
|
||||
print(f"prof={prof}")
|
||||
try:
|
||||
self.profiles.profiles[prof] = seven_mods.get_loaded_mods(self.cfg)
|
||||
self.profiles.profiles[prof] = seven_mods.get_loaded_mods(cfg)
|
||||
self.profiles.save_mod_profiles()
|
||||
self.refresh_profile_list()
|
||||
except seven_mods.SevenModsError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue