Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonski committed Mar 11, 2025
1 parent d9a3bff commit 8e29a2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/senaite/core/exportimport/instruments/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ def parse(self):
# We test in import functions if the file was uploaded
try:
if self._encoding:
f = codecs.open(infile.name, 'r', encoding=self._encoding)
f = codecs.open(infile.name, "r", encoding=self._encoding)
else:
f = open(infile.name, 'rU')
f = open(infile.name, "rU")
except AttributeError:
f = infile
except IOError:
Expand Down

0 comments on commit 8e29a2e

Please sign in to comment.