Commit 04b7c1c3 authored by Martin Vítek's avatar Martin Vítek
Browse files

Fixed headline

parent 9d056d7c
......@@ -86,7 +86,7 @@ next_dusk_time = time.strptime(str(sun['dusk']).split('+')[0], '%Y-%m-%d %H:%M:%
### Calculation of observation conditions 4 hours from dusk or 4hours from curent time if > sunset
print('Using forecast from: %s' % str(data['forecastTimeIso']))
print('\nToday observation conditions:')
print('\n\033[1mToday observation conditions:\033[0m')
if current_time[3] >= dusk_time[3]:
if current_time[4] >= dusk_time[4]:
......@@ -97,6 +97,6 @@ else:
calculate_observation(dusk_time)
### Calculation of observation conditions for next day
print('\nToday observation conditions:')
print('\n\033[1mTomorrow observation conditions:\033[0m')
calculate_observation(next_dusk_time)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment