Skip to content

Commit

Permalink
Merge pull request #11 from wpgp/download_bugfix
Browse files Browse the repository at this point in the history
bugfix download process
  • Loading branch information
arongergely authored Sep 12, 2024
2 parents 0c16d68 + 8e557f4 commit 5efadbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions wpgpDatasets/CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1.2.1
Fixed a bug in the download progress bar that caused an error during download.

2 changes: 1 addition & 1 deletion wpgpDatasets/lib/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __pbar(self, x):
print(int(self.progress))
else:
if self.progress_bar.value() != self.progress:
self.progress_bar.setValue(self.progress)
self.progress_bar.setValue(int(self.progress))
try:
QgsApplication.processEvents()
except NameError:
Expand Down
4 changes: 2 additions & 2 deletions wpgpDatasets/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name=wpDatasets
qgisMinimumVersion=3.0
description=A simple qgis 3 addon to downlaod wp datasets from WorldPop ftp server.
version=1.2
version=1.2.1

# Author contact information
author=Nikolaos Ves,Maksym Bondarenko,Aron Gergely,David Kerr and Alessandro Sorichetta
Expand All @@ -21,7 +21,7 @@ repository=https://github.com/wpgp/wpgpQGIS
# Recommended items:

# Uncomment the following line and add your changelog:
# changelog=
changelog=

# Tags are comma separated with spaces allowed
tags=worldpop, datasets, raster
Expand Down

0 comments on commit 5efadbd

Please sign in to comment.