Skip to content

Commit

Permalink
Use absolute path to data file in generic_importer_source.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zburatorul committed Dec 22, 2020
1 parent 8db33f6 commit d8be2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beancount_import/source/generic_importer_source.py
Expand Up @@ -42,7 +42,7 @@ def __init__(self,
self.account = account

# get _FileMemo object for each file
files = [get_file(f) for f in
files = [get_file(os.path.abspath(f)) for f in
filter(os.path.isfile,
glob(os.path.join(directory, '**', '*'), recursive=True)
)
Expand Down

0 comments on commit d8be2e3

Please sign in to comment.