Skip to content

Commit

Permalink
minor syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jreniel committed Feb 28, 2021
1 parent 2e73f04 commit 4a50ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyschism/io/bctides.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def write(self, path, overwrite: bool = False):
path = pathlib.Path(path)
if path.exists() and not overwrite:
raise IOError('path exists and overwrite is False')
open(path.resolve(), 'w').write(str(self))
open(path, 'w').write(str(self))

def get_forcing(self, boundary):

Expand Down

0 comments on commit 4a50ed1

Please sign in to comment.