Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: Werner Macho <werner.macho@gmail.com>
  • Loading branch information
mach0 committed Jan 18, 2015
1 parent bb7e53c commit 2011951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -88,7 +88,7 @@ def processAlgorithm(self, progress):
else:
if value > 100:
raise GeoAlgorithmExecutionException(
self.tr("Persentage can't be greater than 100. Set a "
self.tr("Percentage can't be greater than 100. Set a "
"different value and try again."))
value = value / 100.0

Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/VectorGrid.py
Expand Up @@ -116,9 +116,9 @@ def processAlgorithm(self, progress):
idVar += 1
count += 1
if int(math.fmod(count, count_update)) == 0:
progress.setPersentage(int(count / count_max * 50))
progress.setPercentage(int(count / count_max * 50))

progress.setPersentage( 50 )
progress.setPercentage( 50 )
# counters for progressbar - update every 5%
count = 0
count_max = (bbox.xMaximum() - bbox.xMinimum()) / xSpace
Expand Down

0 comments on commit 2011951

Please sign in to comment.