Чтобы config_python импортировался из PWD
This commit is contained in:
parent
2aaf0e43eb
commit
4deb7dd49b
13
main.py
Normal file → Executable file
13
main.py
Normal file → Executable file
@ -1,12 +1,15 @@
|
||||
#!/usr/bin/python3
|
||||
import time
|
||||
import config_python
|
||||
from twitchAPI.twitch import Twitch
|
||||
import logging
|
||||
from logging.handlers import TimedRotatingFileHandler
|
||||
from termcolor import colored
|
||||
import os
|
||||
import sys
|
||||
import logging
|
||||
|
||||
sys.path.append(os.path.abspath(os.path.curdir))
|
||||
import config_python
|
||||
|
||||
from twitchAPI.twitch import Twitch
|
||||
from logging.handlers import TimedRotatingFileHandler
|
||||
from termcolor import colored
|
||||
import telebot
|
||||
from telebot.types import InputFile
|
||||
from telebot import types
|
||||
|
Loading…
Reference in New Issue
Block a user