small fix
This commit is contained in:
parent
bee536c715
commit
b65b6aee48
@ -3,7 +3,7 @@ from flask import Flask, request, jsonify
|
||||
import telebot
|
||||
from dotenv import load_dotenv
|
||||
import hashlib
|
||||
import logging
|
||||
#import logging
|
||||
from logging.config import dictConfig
|
||||
from threading import Thread, Lock, Timer
|
||||
import sqlite3
|
||||
@ -295,7 +295,7 @@ def set_user_state(chat_id, state):
|
||||
def start_settings_timer(chat_id):
|
||||
if chat_id in user_timers:
|
||||
user_timers[chat_id].cancel()
|
||||
timer = Timer(30, transition_to_notification_mode, [chat_id])
|
||||
timer = Timer(60, transition_to_notification_mode, [chat_id])
|
||||
user_timers[chat_id] = timer
|
||||
timer.start()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user