mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 18:19:34 +00:00
Reformat code.
This commit is contained in:
parent
b7bf22bb77
commit
92d3d86a18
42 changed files with 73 additions and 10 deletions
|
|
@ -1,5 +1,9 @@
|
|||
from .deprecated import warn_deprecated
|
||||
|
||||
try:
|
||||
import emoji
|
||||
|
||||
warn_deprecated('Use emoji module instead that util')
|
||||
except ImportError:
|
||||
raise ImportError('Need install "emoji" module.')
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
try:
|
||||
import ujson as json
|
||||
|
||||
IS_UJSON = True
|
||||
except ImportError:
|
||||
import json
|
||||
|
||||
IS_UJSON = False
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import subprocess
|
|||
|
||||
from .helper import Helper, HelperMode, Item
|
||||
|
||||
|
||||
# Based on https://github.com/django/django/blob/master/django/utils/version.py
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue