Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
fix: Removes setPrefixPath
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui committed May 21, 2024
1 parent 00e0447 commit d0f7a1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions RctGcs/rctGCS.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@ def main():

app = QgsApplication([], True)

# prefix_path = configSetup()

# QgsApplication.setPrefixPath(str(prefix_path), True)

app.initQgis()

ex = GCS()
Expand Down
3 changes: 0 additions & 3 deletions tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@


def test_configuration():
# with get_instance(get_config_path()) as config:
# prefix_path = config.qgis_prefix_path
# QgsApplication.setPrefixPath(str(prefix_path), True)
default_styles = QgsStyle.defaultStyle()
assert len(default_styles.colorRampNames()) > 0

0 comments on commit d0f7a1f

Please sign in to comment.