fixed desc offline
This commit is contained in:
parent
07ab0af109
commit
88ce63556f
@ -540,6 +540,7 @@ class LibraryTab(ctk.CTkScrollableFrame):
|
|||||||
stars_image_size = stars_image.size
|
stars_image_size = stars_image.size
|
||||||
ratings_text = "Offline"
|
ratings_text = "Offline"
|
||||||
description = re.sub(r'\^\w+', '', extract_json_data(json_path, "Description")) or "Not available"
|
description = re.sub(r'\^\w+', '', extract_json_data(json_path, "Description")) or "Not available"
|
||||||
|
description = re.sub(r'\[.*?\]', '', description)
|
||||||
url = f"https://steamcommunity.com/sharedfiles/filedetails/?id={workshop_id}"
|
url = f"https://steamcommunity.com/sharedfiles/filedetails/?id={workshop_id}"
|
||||||
|
|
||||||
self.toplevel_info_window(map_name, map_mod_type, map_size, image, image_size, date_created,
|
self.toplevel_info_window(map_name, map_mod_type, map_size, image, image_size, date_created,
|
||||||
|
Loading…
Reference in New Issue
Block a user