Skip to content

Commit

Permalink
clean up files (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt committed Dec 21, 2021
1 parent fe0322d commit e7371d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 121 deletions.
113 changes: 0 additions & 113 deletions manifest.json

This file was deleted.

8 changes: 0 additions & 8 deletions qgreenland_dowload.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,16 +299,8 @@ def _fill_tree(self):
if os.path.exists(os.path.join(self.qgreenland_path, 'layers.json')):
downloaded_layers = self.read_json(os.path.join(self.qgreenland_path, 'layers.json'))

# temporary read the manifest local json file
# make it persistent as self.data
# json_file = os.path.join(os.path.dirname(__file__), 'manifest.json')
# with open(json_file, 'r') as f:
# self.data = json.load(f)

# load the manifest data from the remote url
# make it persistent as self.data

# url = QUrl('http://localhost:8080/manifest.json')
url = QUrl(self.downloading_url + 'manifest.json')
network_request = QNetworkRequest(url)
reply = QgsNetworkAccessManager.instance().blockingGet(network_request)
Expand Down

0 comments on commit e7371d2

Please sign in to comment.