Skip to content
This repository was archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
Filtering now by default, closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
aricooperdavis committed Apr 1, 2019
1 parent beda0bc commit 496b474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Development Tools/Testing/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
files = ['HiTrack_1', 'HiTrack_2', 'HiTrack_3']
for file in files:

sys.argv = ['', '-f', '-v', file]
sys.argv = ['', '-v', file]
# Stop testing if the converter fails and report the error
try:
converter.main()
Expand Down
4 changes: 2 additions & 2 deletions Huawei-TCX-Converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ def parse_arguments() -> tuple:
"""

print('\n')
options = {'filter': False, 'validate': False, 'sport': 'Running'}
options = {'filter': True, 'validate': False, 'sport': 'Running'}
input_file = ''
for argument in sys.argv[1:]:
if argument == '-f':
options['filter'] = True
options['filter'] = False
elif argument == '-v':
options['validate'] = True
elif argument == '-b':
Expand Down

0 comments on commit 496b474

Please sign in to comment.