Skip to content

Commit

Permalink
importgeneweb.py broken with Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierberten authored Nov 27, 2023
1 parent 892fc27 commit a29d342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gramps/plugins/importer/importgeneweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class GeneWebParser:
def __init__(self, dbase, file):
self.db = dbase
if file: # Unit tests can create the parser w/o underlying file
self.f = open(file, "rUb")
self.f = open(file, "rb")
self.filename = file
self.encoding = "iso-8859-1"
self.gwplus = False
Expand Down

0 comments on commit a29d342

Please sign in to comment.