txlyre 2 年之前
父節點
當前提交
a2d211390c
共有 2 個文件被更改,包括 2 次插入4 次删除
  1. 1 4
      actions.py
  2. 1 0
      openkriemy.py

+ 1 - 4
actions.py

@@ -8,10 +8,7 @@ from telethon.tl.types import InputStickerSetID, InputStickerSetShortName, Input
 from tortoise.expressions import F
 
 from models import Action, Gif, StickerPack, Admin, BirthDay
-from utils import (
-  is_valid_name,
-  calculate_age
-)
+from utils import is_valid_name
 from config import config
 
 async def is_admin(bot, user):

+ 1 - 0
openkriemy.py

@@ -8,6 +8,7 @@ from actions import get_all_birthdays
 from utils import (
   parse_command,
   get_link_to_user,
+  calculate_age,
   Kind
 )
 from config import config