diff --git a/daemon.py b/daemon.py index 9a1948b0c..d6cfd8b76 100644 --- a/daemon.py +++ b/daemon.py @@ -2170,7 +2170,7 @@ class PubServer(BaseHTTPRequestHandler): fields = {} print('themeParams: ' + str(themeParams)) - with open(baseDir + '/teststr.txt') as fp: + with open(baseDir + '/teststr.txt', 'w+') as fp: fp.write(themeParams) fieldsList = themeParams.split('&') for fieldStr in fieldsList: