Fix path for uberspace

This commit is contained in:
Arne Schlüter 2015-02-10 18:24:30 +01:00
commit b0d466ba87

View file

@ -1,7 +1,14 @@
import bottle
import sqlite3
import json
import
import os
# Fix path for uberspace
import sys
try:
os.chdir(os.path.dirname(sys.argv[0]))
except:
pass
@bottle.get("/")
def index():