Skip to content

Commit

Permalink
Merge pull request #171 from openearth/hotfix-sprint09-tijn-fix-downl…
Browse files Browse the repository at this point in the history
…oad-ext-filter

fixes the filter such that any file extension starting with .tr is pa…
  • Loading branch information
tschmits authored Jan 25, 2017
2 parents 384bfbc + a98cec1 commit 51cb89e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions delft3dworker/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,13 @@ def export(self, zipfile, options):
) and (
not f.startswith('TMP')
) and (
ext in ['.bcc', '.bch', '.bct', '.bnd', '.dep', '.enc',
'.fil', '.grd', '.ini', '.mdf', '.mdw', '.mor',
'.obs', '.sed', '.sh', '.tr1', '.url', '.xml']
(
ext in ['.bcc', '.bch', '.bct', '.bnd', '.dep', '.enc',
'.fil', '.grd', '.ini', '.mdf', '.mdw', '.mor',
'.obs', '.sed', '.sh', '.url', '.xml']
) or (
ext.startswith('.tr')
)
):
add = True

Expand Down

0 comments on commit 51cb89e

Please sign in to comment.