Is there a better way to tell which Platform Domoticz is running on besides importing extra modules (os). For now i'm using the code below to try and work around an issue on Windows. Bit of a quick and dirty solution
Code: Select all
def onwindows():
if str(Parameters['HomeFolder'])[1:3] == ":\\":
return True
else:
return FalseFor that issue see: http://www.domoticz.com/forum/viewtopic ... 65&t=20467 (around page 6)