diff --git a/bot_sys/config.py b/bot_sys/config.py index 6226f04..8421116 100644 --- a/bot_sys/config.py +++ b/bot_sys/config.py @@ -24,11 +24,8 @@ root_ids_file_name = 'config_root_ids' # Дополнительные функции def ClearReadLine(a_Line): - cleaned_line = "" - for char in a_Line: - if char.isprintable(): - cleaned_line += char - return cleaned_line + line = a_Line.strip() + return line def GetFirstLineFromFile(a_FileName): f = open(a_FileName, 'r')