mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Fix some typos
This commit is contained in:
parent
0a136b58f0
commit
af6d30c067
@ -51,7 +51,7 @@ class AMFReader(MeshReader):
|
||||
base_name = os.path.basename(file_name)
|
||||
try:
|
||||
zipped_file = zipfile.ZipFile(file_name)
|
||||
xml_document = zfile.read(zipped_file.namelist()[0])
|
||||
xml_document = zipped_file.read(zipped_file.namelist()[0])
|
||||
zipped_file.close()
|
||||
except zipfile.BadZipfile:
|
||||
raw_file = open(file_name, "r")
|
||||
|
Loading…
x
Reference in New Issue
Block a user