replace-bot/utils/patch/aiogram-patch-loop.sh

6 lines
210 B
Bash
Raw Normal View History

2022-10-12 22:54:44 +03:00
#!/bin/sh
#https://github.com/aiogram/aiogram/pull/795
PYTHON_LIB_PATH=$(python3 -c 'import sys; print(sys.path[4])')
patch --directory=$PYTHON_LIB_PATH/aiogram/utils/ -i $(pwd)/utils/patch/aiogram-loop.patch