mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Fix #12340 - Reload site to pick up new expressions package
This commit is contained in:
parent
4b6ad0c237
commit
738838acd4
@ -44,6 +44,9 @@ initfile = os.path.join(expressionspath, "__init__.py")
|
||||
if not os.path.exists(initfile):
|
||||
open(initfile, "w").close()
|
||||
|
||||
import site
|
||||
reload(site)
|
||||
|
||||
import expressions
|
||||
|
||||
expressions.load = load_user_expressions
|
||||
|
Loading…
x
Reference in New Issue
Block a user