mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix some typos
This commit is contained in:
parent
0a136b58f0
commit
af6d30c067
1 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ class AMFReader(MeshReader):
|
||||||
base_name = os.path.basename(file_name)
|
base_name = os.path.basename(file_name)
|
||||||
try:
|
try:
|
||||||
zipped_file = zipfile.ZipFile(file_name)
|
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()
|
zipped_file.close()
|
||||||
except zipfile.BadZipfile:
|
except zipfile.BadZipfile:
|
||||||
raw_file = open(file_name, "r")
|
raw_file = open(file_name, "r")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue