mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix tiny bug
This commit is contained in:
parent
e76ecc261a
commit
e81d6fc1c4
3 changed files with 6 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
||||
|
|
|
@ -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})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue