diff --git a/dbfread/memo.py b/dbfread/memo.py index 024a5c1..449a6bb 100644 --- a/dbfread/memo.py +++ b/dbfread/memo.py @@ -168,7 +168,7 @@ def __getitem__(self, index): def find_memofile(dbf_filename): - for ext in ['.fpt', '.dbt']: + for ext in ['.fpt', '.dbt', '.frt']: name = ifind(dbf_filename, ext=ext) if name: return name @@ -177,7 +177,7 @@ def find_memofile(dbf_filename): def open_memofile(filename, dbversion): - if filename.lower().endswith('.fpt'): + if filename.lower().endswith('.fpt') or filename.lower().endswith('.frt'): return VFPMemoFile(filename) else: # print('######', dbversion)