Skip to content

Commit

Permalink
Merge pull request #528 from pengxiang-liu/master
Browse files Browse the repository at this point in the history
Skip the check of Processing Plugin when using PyQGIS in standalone scripts
  • Loading branch information
Gustry authored Feb 28, 2025
2 parents d0d43b4 + 0e7f28c commit 0d3e54e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions QuickOSM/core/utilities/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def quickosm_user_folder() -> str:

def check_processing_enable() -> Tuple[bool, str, str]:
""" Check if Processing is enabled. """
# https://github.com/3liz/QuickOSM/issues/527
if qgis.utils.iface is None:
return True, '', ''
# https://github.com/3liz/QuickOSM/issues/422
# https://github.com/3liz/QuickOSM/issues/352
# https://github.com/3liz/QuickOSM/pull/517
Expand Down

0 comments on commit 0d3e54e

Please sign in to comment.