1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Fix tiny bug

This commit is contained in:
Steffo 2019-06-06 15:43:51 +02:00
parent e76ecc261a
commit e81d6fc1c4
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,5 @@
from . import audio, bots, commands, database, network, utils, error, web
version = "5.0a13"
version = "5.0a14"
__all__ = ["audio", "bots", "commands", "database", "network", "utils", "error", "web"]

View file

@ -1,7 +1,9 @@
import flask as f
import os
from ... import Royalprint
tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
bp = Royalprint("home", __name__, template_folder="templates")

View file

@ -2,11 +2,13 @@ import flask as f
import markdown2
import re
import uuid
import os
from ... import Royalprint
from ....database.tables import Royal, WikiPage, WikiRevision
bp = Royalprint("wikiview", __name__, url_prefix="/wikiview", template_folder="templates",
tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
bp = Royalprint("wikiview", __name__, url_prefix="/wikiview", template_folder=tmpl_dir,
required_tables={Royal, WikiPage, WikiRevision})