+import os
import functools
import socket
import json
('Server', 'graphit_controlpi websocket server'),
('Connection', 'close'),
]
+ server_root = os.path.realpath(os.path.join(os.getcwd(), server_root))
full_path = os.path.realpath(os.path.join(sever_root, path[1:]))
if os.path.commonpath((sever_root, full_path)) != sever_root or \
not os.path.exists(full_path) or not os.path.isfile(full_path):
setuptools.setup(
name="graphit-controlpi",
- version="0.2.1",
+ version="0.2.2",
author="Graph-IT GmbH",
author_email="info@graph-it.com",
description="Main Module for Machine Control Pi",