kanaka/websockify — pull request #99 by alonbl (2013-10-14 18:32:55+00:00)
Title: WebSocketProxy: support non path target_cfg

The WebSocketProxy class is usable for creating derived applications
with different logic, especially for the target validation.

Current code assumes that target is a path while in other implementation
it can be object that is loaded at initialization.

This change moves the conversion to absolute path into main function, so
that the WebSocketProxy class will not make that assumption.

Signed-off-by: Alon Bar-Lev