Skip to content

Commit

Permalink
new version fixing error when no start time is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
GliderGeek committed Aug 29, 2024
1 parent 1e8c192 commit b90b97c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Master

[unreleased]

v0.70.0 - 2024-08-29
- fix error when no start time defined

v0.69.0 - 2024-08-29
- convert UTC to local time to prevent timezone issues

Expand Down
3 changes: 2 additions & 1 deletion PySoar/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def run(self):
fix['time'] = add_times(fix['time'], datetime.timedelta(hours=tz))

# converting start-time from UTC to local time
competition_day.task.start_opening = add_times(competition_day.task.start_opening, datetime.timedelta(hours=tz))
if competition_day.task.start_opening is not None:
competition_day.task.start_opening = add_times(competition_day.task.start_opening, datetime.timedelta(hours=tz))

if competition_day.task.multistart:
txt = 'Multiple starting points not implemented!'
Expand Down
2 changes: 1 addition & 1 deletion PySoar/settingsClass.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self):
self.debug_form_url = 'https://docs.google.com/forms/d/1uWxTA5Hka6rbXzDOJDX9dRhZ7OwIoqN5Do0e27B0q-M/viewform'
self.pysoar_version_formID = 891402426
self.competition_url_formID = 174131444
self.version = '0.69.0'
self.version = '0.70.0'

# determine if application is a script file or frozen exe
if getattr(sys, 'frozen', False):
Expand Down

0 comments on commit b90b97c

Please sign in to comment.