Mise à jour de 'FirstLiv/main.py'
This commit is contained in:
parent
01036710af
commit
72fcd29a86
@ -2,7 +2,7 @@ from tkinter import *
|
|||||||
from tkinter import messagebox
|
from tkinter import messagebox
|
||||||
import mysql.connector
|
import mysql.connector
|
||||||
from obswebsocket import obsws, requests
|
from obswebsocket import obsws, requests
|
||||||
from twitchAPI.twitch import TwitchClient
|
# from twitchAPI.twitch import TwitchClient
|
||||||
|
|
||||||
class NouvelleFenetre:
|
class NouvelleFenetre:
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ class NouvelleFenetre:
|
|||||||
# C'est mon id de ma chaine twitch identifiant Alexis
|
# C'est mon id de ma chaine twitch identifiant Alexis
|
||||||
client_id = "6h883my3p6ndqozotnl6nsbllyyr3h"
|
client_id = "6h883my3p6ndqozotnl6nsbllyyr3h"
|
||||||
|
|
||||||
twitch_client = TwitchClient(client_id=client_id)
|
# twitch_client = TwitchClient(client_id=client_id)
|
||||||
|
|
||||||
# On récupère la clé Twitch depuis la base de données
|
# On récupère la clé Twitch depuis la base de données
|
||||||
self.twitch_key_from_database = self.get_twitch_key_from_database(username)
|
self.twitch_key_from_database = self.get_twitch_key_from_database(username)
|
||||||
|
Loading…
Reference in New Issue
Block a user