mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Change example data to contain HTML instead of JSON format
Then it's easier for us to show a more readable information about the data we collect Contributes to CURA-6434.
This commit is contained in:
parent
534a035841
commit
46f1f00cb9
4 changed files with 42 additions and 115 deletions
|
@ -77,7 +77,7 @@ class SliceInfo(QObject, Extension):
|
|||
if not plugin_path:
|
||||
Logger.log("e", "Could not get plugin path!", self.getPluginId())
|
||||
return None
|
||||
file_path = os.path.join(plugin_path, "example_data.json")
|
||||
file_path = os.path.join(plugin_path, "example_data.html")
|
||||
if file_path:
|
||||
with open(file_path, "r", encoding = "utf-8") as f:
|
||||
self._example_data_content = f.read()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue