Skip to content

Commit

Permalink
Merge pull request #68581 from oganm/oganm/master
Browse files Browse the repository at this point in the history
fix typo in ZIPReader doc
  • Loading branch information
akien-mga committed Nov 22, 2022
2 parents 876ea3e + fc260ca commit e3a51e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/zip/doc_classes/ZIPReader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
func read_zip_file():
var reader := ZIPReader.new()
var err := reader.open("user://archive.zip")
if err == OK:
if err != OK:
return PackedByteArray()
var res := reader.read_file("hello.txt")
reader.close()
Expand Down

0 comments on commit e3a51e5

Please sign in to comment.