mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Remove local import of json
CURA-7005
This commit is contained in:
parent
712cebcdd2
commit
bee641da5a
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
from configparser import ConfigParser
|
from configparser import ConfigParser
|
||||||
import zipfile
|
import zipfile
|
||||||
import os
|
import os
|
||||||
|
import json
|
||||||
from typing import cast, Dict, List, Optional, Tuple, Any
|
from typing import cast, Dict, List, Optional, Tuple, Any
|
||||||
|
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
@ -739,7 +740,6 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
archive = zipfile.ZipFile(file_name, "r")
|
archive = zipfile.ZipFile(file_name, "r")
|
||||||
|
|
||||||
metadata_files = [name for name in archive.namelist() if name.endswith("plugin_metadata.json")]
|
metadata_files = [name for name in archive.namelist() if name.endswith("plugin_metadata.json")]
|
||||||
import json
|
|
||||||
|
|
||||||
result = dict()
|
result = dict()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue