Skip to content

Commit

Permalink
Fix crash by removing indentation in embedded python code
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienWehrle authored Apr 11, 2021
1 parent ff580a2 commit c637ef1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dhusget_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ dt = int("${dt}")
def frmt(hour):
_min, hours = modf(hour)
_sec, minutes = modf(_min*60)
return "%s:%s"%(str(int(hours)).zfill(2),
str(int(minutes)).zfill(2))
_min, hours = modf(hour)
_sec, minutes = modf(_min*60)
return "%s:%s"%(str(int(hours)).zfill(2),
str(int(minutes)).zfill(2))
datestr0 = date + 'T' + frmt(solar_noon-dt) + ':00.0000Z'
Expand Down

0 comments on commit c637ef1

Please sign in to comment.