Browse Source

внес изменения в функции ClearReadLine #8

Anton 1 year ago
parent
commit
dbffcd4eb4
  1. 7
      bot_sys/config.py

7
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')

Loading…
Cancel
Save