Closed ValentinBuira closed 1 month ago
Also, it would be nice if at some point we standardized the way paths are handled though, as now there are combinations of QT style (forward slashes, used by qgis api), os.path and pathlib.Path
Agreed I think pathlib is the good candidate and the more pleasant to work with
Thank you for fixing this so quickly.
The qgis project was not reloading after a sync on windows when there was only change to the .qgz file
This happened because
QgsProject.instance().fileName()
&QgsProject.instance().absolutePath()
returned unix-style path even on windows. This behavior mismatch with the return of e.gos.path.join
in python.This PR fix the is by adding an extra os.path.normpath
Fix #617