Skip to content

Commit

Permalink
Make handlers package saner
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Nov 13, 2019
1 parent 74ddb6f commit 8f002cf
Show file tree
Hide file tree
Showing 13 changed files with 502 additions and 506 deletions.
5 changes: 3 additions & 2 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@
from aiogram.utils import executor

from src import config
from src import handlers # noqa: F401
from src import notifications
from src.bot import dp
from src.bot import tg
from src.escrow import connect_to_blockchains
from src.registered_handlers import dp
from src.registered_handlers import tg


async def on_startup(webhook_path, *args):
Expand Down
2 changes: 1 addition & 1 deletion src/escrow/blockchain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
from aiogram.utils import markdown
from bson.objectid import ObjectId

from src.bot import tg
from src.database import database
from src.handlers import tg
from src.i18n import _


Expand Down

0 comments on commit 8f002cf

Please sign in to comment.