Commit b5ba6a92 authored by Chris Lamb's avatar Chris Lamb 💬 Drop unnecessary else after return

parent c32d58ec
......@@ -105,8 +105,7 @@ class ZipContainer(Archive):
zipinfo = self.archive.getinfo(member_name)
if zipinfo.filename[-1] == '/':
return ZipDirectory(self, member_name)
return ArchiveMember(self, member_name)
return ArchiveMember(self, member_name)
class ZipFile(File):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment