diff --git a/rootfs/standard/var/www/mynode/utilities.py b/rootfs/standard/var/www/mynode/utilities.py index c57cb5d2..af608e3c 100644 --- a/rootfs/standard/var/www/mynode/utilities.py +++ b/rootfs/standard/var/www/mynode/utilities.py @@ -14,6 +14,7 @@ def get_file_contents(filename): return contents def set_file_contents(filename, data): + data = data.replace('\r\n','\n') try: with open(filename, "w") as f: f.write(data)