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 037c5d3 commit f7f00e1
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 f7f00e1

Please sign in to comment.