Skip to content

Modified isfread to work with Python 3#2

Open
a-card wants to merge 2 commits intogpasquev:masterfrom
a-card:master
Open

Modified isfread to work with Python 3#2
a-card wants to merge 2 commits intogpasquev:masterfrom
a-card:master

Conversation

@a-card
Copy link
Copy Markdown

@a-card a-card commented Jul 30, 2018

  • The code is still compatible with Python 2.
  • Switched to using 'with' to handle ISF file opening/closing
  • Removed unnecessary ISF filetype check. Tested using this exact type of ISF file.
  • Removed trailing whitespace

A Card added 2 commits July 30, 2018 12:50
The code is still Python 2 compaitble. Had to switch to over to reading data
in as raw bytes. Also switched over to using 'with' to open the file. Removed trailing whitespaces.
Tested this by reading an ISF file that matched the
'non-compatible' ISF file type. Turns out isfread is in fact compatible
with these parameters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant