Open jbremer opened 8 years ago
@jbremer are you referring to the following code in https://github.com/honeynet/cuckoo-droid/blob/f9f2da195869c7687624f2b34ab3b7dd4bcc811d/web/analysis/views.py?
analysis_path = os.path.join(path, "analysis.json")
with open(analysis_path, "w") as outfile:
report["target"].pop("file_id", None)
json.dump({"target": report["target"]}, outfile, indent=4)
Rather than forcing JSON or converting to JSON, allow JSON but default back to the comma-separated configuration that we've had since forever.