Skip to content

Commit e4113e1

Browse files
committed
fix: French translation caused error
fix: pin python-telegram-bot to v13.15 fix: logging.handlers error ver: 3.2
1 parent 0611e3f commit e4113e1

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lang/fr-fr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ no_language_profiles: "Erreur lors de l'ajout {kind} : aucun profil de langue ac
3030
all_seasons: Toutes saisons
3131
first_season: Première saison
3232
latest_season: Dernière saison
33-
added: On a réussi à ajouter {titre} !
33+
added: On a réussi à ajouter {title} !
3434
unknown_error_adding: Une erreur non spécifiée a été rencontrée lors de l'ajout de {kind} !
3535
removed_user: Tous les accès de l'utilisateur ID [{user}] ont été supprimés avec succès !
3636
unknown_error_removing_user: Erreur non spécifiée rencontrée lors de la suppression de l'identifiant de l'utilisateur [{user}] !

log.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
https://github.com/toddrob99/searcharr
77
"""
88
import logging
9+
from logging.handlers import TimedRotatingFileHandler
910
import os
1011

1112

@@ -30,7 +31,7 @@ def set_up_logger(logger_name, verbose, console):
3031
logPath = os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")
3132
if not os.path.exists(logPath):
3233
os.makedirs(logPath)
33-
fh = logging.handlers.TimedRotatingFileHandler(
34+
fh = TimedRotatingFileHandler(
3435
os.path.join(logPath, fileName), when="midnight", interval=1, backupCount=7
3536
)
3637
fh.setFormatter(formatter)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
argparse
22
requests
3-
python-telegram-bot
3+
python-telegram-bot==13.15
44
pyyaml
55
arrow

searcharr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import readarr
2525
import settings
2626

27-
__version__ = "3.1"
27+
__version__ = "3.2"
2828

2929
DBPATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data")
3030
DBFILE = "searcharr.db"

0 commit comments

Comments
 (0)