Hi,
I recently updated/upgraded my windows 10 to 20H (the latest version of
windows 10). I immediately ran into an issue with paths. I discovered
that if I attempt to run a script on a network drive the dApp.py got
into an infinite loop at dApp->_getHomeDirectory -> issubdir.
I came up with this as a solution. But I not sure if this works with
all platforms. Maybe someone can offer a better solution:
if calledScript:
import pathlib
scriptDir =
str(pathlib.Path(calledScript).parent.absolute())
I'm using pathlib because is suppose to be the python3 solution.
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/[email protected]