mirror of
https://github.com/KUlishevgeniy/c22712.git
synced 2026-09-23 23:50:21 +00:00
Update bot_database.py
This commit is contained in:
@@ -3,7 +3,7 @@ import psycopg2
|
|||||||
from telebot import types
|
from telebot import types
|
||||||
import random
|
import random
|
||||||
|
|
||||||
connection = psycopg2.connect(host='localhost', dbname='work', user='dialuna', password='Timka07')
|
connection = psycopg2.connect(host='localhost', dbname='work', user='dialuna', password='Timka07') # да-да :)
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
try:
|
try:
|
||||||
sel_query = """SELECT * FROM bot"""
|
sel_query = """SELECT * FROM bot"""
|
||||||
|
|||||||
Reference in New Issue
Block a user