The dump option now dumps all of the claimed drops information, instead of just the timestamps

This commit is contained in:
DevilXD committed 2025-10-31 17:26:33 +01:00
1 parent c699ffa936
commit 7ad84d5b5f
1 file changed
+1 -1
+1 -1
View File
@@ -1450,7 +1450,7 @@ class Twitch:
drop_data["self"]["dropInstanceID"] = "..." drop_data["self"]["dropInstanceID"] = "..."
json.dump(dump_data, file, indent=4, sort_keys=True) json.dump(dump_data, file, indent=4, sort_keys=True)
file.write("\n\n") # add 2x new line spacer file.write("\n\n") # add 2x new line spacer
json.dump(claimed_benefits, file, indent=4, sort_keys=True, default=str) json.dump(inventory["gameEventDrops"], file, indent=4, sort_keys=True, default=str)
# use the merged data to create campaign objects # use the merged data to create campaign objects
campaigns: list[DropsCampaign] = [ campaigns: list[DropsCampaign] = [