forked from jan/fatamorgana
Use a dummy unit of -1 when reading (to satisfy type checker)
This commit is contained in:
parent
8fb2f2b594
commit
3af40dd1bc
@ -117,7 +117,7 @@ class OasisLayout:
|
|||||||
"""
|
"""
|
||||||
file_state = FileModals()
|
file_state = FileModals()
|
||||||
modals = Modals()
|
modals = Modals()
|
||||||
layout = OasisLayout(unit=None)
|
layout = OasisLayout(unit=-1) # dummy unit
|
||||||
|
|
||||||
read_magic_bytes(stream)
|
read_magic_bytes(stream)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user