Skip to content

Commit

Permalink
Change kwarg to codec from encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
rnelsonchem committed Feb 2, 2015
1 parent f2e5699 commit 65f2462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simpledbf/simpledbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ class Dbf5(DbfBase):
fmtsiz : int
The size of each record in bytes.
'''
def __init__(self, dbf, encoding='utf-8'):
self._enc = encoding
def __init__(self, dbf, codec='utf-8'):
self._enc = codec
path, name = os.path.split(dbf)
self.dbf = name
# Reading as binary so bytes will always be returned
Expand Down

0 comments on commit 65f2462

Please sign in to comment.