Skip to content

Commit

Permalink
r.lake.series: fix bug that showed up with Py3
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Nov 5, 2019
1 parent 7a822cf commit c6ca315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grass7/raster/r.lake.series/r.lake.series.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def main():

time_unit = options['time_unit']
time_step = options['time_step'] # temporal fucntions accepts only string now
if time_step <= 0:
if int(time_step) <= 0:
gcore.fatal(_("Time step must be greater than zero."
" Please specify number > 0."))

Expand Down

0 comments on commit c6ca315

Please sign in to comment.