mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-22 07:51:30 +00:00
typo in conf...
This commit is contained in:
parent
31a9d3d28c
commit
e415e92d49
|
@ -1,7 +1,7 @@
|
||||||
from src.fedi_api import get_notifications, mark_as_read_notification, post_status, upload_attachment
|
from src.fedi_api import get_notifications, mark_as_read_notification, post_status, upload_attachment
|
||||||
from src.fmn_states_db import write_states, states_stor
|
from src.fmn_states_db import write_states, states_stor
|
||||||
from src.sheduler import check_stop_thread_scan
|
from src.sheduler import check_stop_thread_scan
|
||||||
from config import admins_bot, limit_movies_per_user, limit_all_movies_poll, hour_poll_posting, fmn_next_watching_hour, peertube_strean_url
|
from config import admins_bot, limit_movies_per_user, limit_all_movies_poll, hour_poll_posting, fmn_next_watching_hour, peertube_stream_url
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
|
@ -15,7 +15,7 @@ from loguru import logger
|
||||||
@logger.catch
|
@logger.catch
|
||||||
def get_peertube_stream_name():
|
def get_peertube_stream_name():
|
||||||
try:
|
try:
|
||||||
return requests.get(peertube_strean_url).json()['name']
|
return requests.get(peertube_stream_url).json()['name']
|
||||||
except Exception as E:
|
except Exception as E:
|
||||||
return f"[не удалось получить название {E}]"
|
return f"[не удалось получить название {E}]"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue