test input hiding

This commit is contained in:
Bryan Gerlach
2026-01-11 15:20:31 -06:00
parent 0bd1d7d55e
commit 2f33b26441

View File

@@ -245,8 +245,8 @@ def generator_view(request):
temp_json_path = f"data_{uuid.uuid4()}.json"
zip_filename = f"secrets_{uuid.uuid4()}.zip"
zip_path = os.path.join(_settings.MEDIA_ROOT, 'temp_zips', zip_filename)
os.makedirs(os.path.dirname(zip_path), exist_ok=True)
zip_path = "temp_zips/%s" % (zip_filename)
Path("temp_zips").mkdir(parents=True, exists_ok=True)
with open(temp_json_path, "w") as f:
json.dump(inputs_raw, f)