Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Fixes issue #8 that makes imctools Windows incompatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
votti committed Sep 19, 2017
1 parent 248ba15 commit 1f7344b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imctools/io/mcdparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def retrieve_mcd_xml(self, start_str='<MCDSchema', stop_str='</MCDSchema>'):
:param start_str:
:param stop_str:
"""
mm = mmap.mmap(self._metafh.fileno(), 0, prot=mmap.PROT_READ)
mm = mmap.mmap(self._metafh.fileno(), 0, access=mmap.ACCESS_READ)

xml_start = mm.rfind(start_str.encode('utf-8'))

Expand Down

0 comments on commit 1f7344b

Please sign in to comment.