File lutris-0.5.9.1-key.patch of Package lutris
Based on https://github.com/lutris/lutris/commit/072e72a4aefd91101b79dd05d8ce9f100a4b6b0c
Index: lutris/lutris/util/steam/config.py
===================================================================
--- lutris.orig/lutris/util/steam/config.py
+++ lutris/lutris/util/steam/config.py
@@ -158,7 +158,7 @@ def read_library_folders(steam_data_dir)
with open(library_filename, "r") as steam_library_file:
library = vdf_parse(steam_library_file, {})
# The contentstatsid key is unused and causes problems when looking for library paths.
- library["libraryfolders"].pop("contentstatsid")
+ library["libraryfolders"].pop("contentstatsid", None)
try:
return get_entry_case_insensitive(library, ["libraryfolders"])
except KeyError as ex: