diff --git a/CHANGELOG.md b/CHANGELOG.md index b7c5a22b..d8a4f555 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,4 @@ * generate_emu_config: allow setting the steam id of apps/games owners from an external file `top_owners_ids.txt` beside the script -* generate_emu_config: add the id of the currently logged-in user to the internal list of apps/games owners * generate_emu_config: always use the directory of the script for: the data `backup` folder, the `login_temp` folder, the `my_login.txt` file --- diff --git a/tools/generate_emu_config/generate_emu_config.py b/tools/generate_emu_config/generate_emu_config.py index bee33f90..8293e5ff 100644 --- a/tools/generate_emu_config/generate_emu_config.py +++ b/tools/generate_emu_config/generate_emu_config.py @@ -19,6 +19,7 @@ import urllib.error import threading import queue import shutil +import traceback def get_exe_dir(): # https://pyinstaller.org/en/stable/runtime-information.html @@ -347,11 +348,9 @@ TOP_OWNER_IDS = list(dict.fromkeys([ ])) def generate_achievement_stats(client, game_id : int, output_directory, backup_directory) -> list[dict]: - steam_id_list = TOP_OWNER_IDS.copy() - steam_id_list.add(client.steam_id) stats_schema_found = None print(f"finding achievements stats...") - for id in steam_id_list: + for id in TOP_OWNER_IDS: #print(f"finding achievements stats using account ID {id}...") out = get_stats_schema(client, game_id, id) if out is not None and len(out.body.schema) > 0: @@ -905,5 +904,9 @@ if __name__ == "__main__": except Exception as e: print("Unexpected error:") print(e) + print("-----------------------") + for line in traceback.format_exception(e): + print(line) + print("-----------------------") sys.exit(1)