From aafc0957deb424c71b75a78dd77149fa487ad52a Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Fri, 24 Jan 2014 14:30:13 -0500 Subject: [PATCH] attempt to fix web-static not being found --- p2pool/web.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/web.py b/p2pool/web.py index 4400e7d..034baa5 100644 --- a/p2pool/web.py +++ b/p2pool/web.py @@ -443,6 +443,6 @@ def get_web_root(wb, datadir_path, bitcoind_getinfo_var, stop_event=variable.Eve hd.datastreams['getwork_latency'].add_datum(time.time(), new_work['latency']) new_root.putChild('graph_data', WebInterface(lambda source, view: hd.datastreams[source].dataviews[view].get_data(time.time()))) - web_root.putChild('static', static.File(os.path.join(os.path.dirname(sys.argv[0]), 'web-static'))) + web_root.putChild('static', static.File(os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), 'web-static'))) return web_root -- 1.7.1