Compare commits

..
1 Commits
Author SHA1 Message Date
YoursFunny af561ed0a0 fix pers_data 2024-03-22 23:03:04 +08:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -27,5 +27,5 @@
.python-version
LICENSE
README.md
pers_data
pers.pkl
cert/
+1 -1
View File
@@ -1,6 +1,6 @@
**/.idea
__pycache__/
cert/
pers_data
pers.pkl
docker-compose.yml
x.py
+1 -1
View File
@@ -16,6 +16,6 @@ services:
WEBHOOK_SECRET_TOKEN: 'secret-token'
# LOG_LEVEL: 'WARNING'
volumes:
- ./pers_data: /app/pers_data
- ./pers.pkl: /app/pers.pkl
# - ./cert:/app/cert
container_name: tgxmb
+1 -1
View File
@@ -105,7 +105,7 @@ async def post_shutdown(application: Application) -> None:
def main():
defaults = Defaults(parse_mode=ParseMode.HTML, allow_sending_without_reply=True)
persistence = PicklePersistence(filepath='pers_data')
persistence = PicklePersistence(filepath='pers.pkl')
application = (ApplicationBuilder()
.token(common.BOT_TOKEN)
.defaults(defaults)