mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Fix path for uberspace
This commit is contained in:
parent
503673ebb9
commit
b0d466ba87
1 changed files with 8 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue