Browse Source

fix ob-watcher.py serving from relative location

master
undeath 5 years ago
parent
commit
5f8219617d
No known key found for this signature in database
GPG Key ID: F0DF5443BD2F3520
  1. 3
      scripts/obwatch/ob-watcher.py

3
scripts/obwatch/ob-watcher.py

@ -130,7 +130,8 @@ class OrderbookPageRequestHeader(http.server.SimpleHTTPRequestHandler):
self.taker = base_server.taker
self.base_server = base_server
http.server.SimpleHTTPRequestHandler.__init__(
self, request, client_address, base_server)
self, request, client_address, base_server,
directory=os.path.dirname(os.path.realpath(__file__)))
def create_orderbook_obj(self):
try:

Loading…
Cancel
Save