Skip to content

Commit

Permalink
Fixed a condition and landusemanning
Browse files Browse the repository at this point in the history
  • Loading branch information
Scriptbash committed Apr 21, 2022
1 parent d680578 commit a5776b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qraven/qraven.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ def getRVHparams(self):
if self.dlg.file_landuserast.filePath():
landusemanning = self.dlg.file_landusemanning.filePath()
else:
landusemanning = ''
landusemanning = '#'

facthreshold = self.dlg.spin_facthreshold.value()

Expand All @@ -764,7 +764,7 @@ def getRVHparams(self):
selectedlakeid = self.dlg.txt_selectedlakeid.text()
else:
selectedlakeid = '#'
if self.dlg.spin_minsubbasinarea.value() != '0.0':
if self.dlg.spin_minsubbasinarea.value() <=0:
minsubbasinarea = self.dlg.spin_minsubbasinarea.value()
else:
minsubbasinarea = '#'
Expand Down

0 comments on commit a5776b3

Please # to comment.