feat: Store part key/file in global names dict

This commit is contained in:
Tanner Collin (aider) 2025-05-22 19:11:18 -06:00
parent 7c48b67132
commit 2ae12664e5

View File

@ -2,6 +2,7 @@ import json
from urllib.parse import urlparse, parse_qs
data = {}
names = {}
def main():
"""
@ -102,6 +103,9 @@ def main():
part_key = part_element.get('key')
part_file = part_element.get('file')
if part_key is not None:
names[part_key] = part_file
# At this point, part_key and part_file are available.
# The user has not specified what to do with them yet.
# For example, to print them: