Добавлен отлов падений

This commit is contained in:
2020-04-22 12:08:27 +03:00
parent b22685b60d
commit e913a9642b

View File

@@ -26,7 +26,7 @@ if path.exists('./professions_list.txt'):
weightsList = {}
if path.exists('./weights_list.txt'):
f = open('./weights_list.txt')
f = open('./weights_list.txt')
for line in f.readlines():
question = line.split(':')[0]
if question[-1:] == ' ':
@@ -229,4 +229,8 @@ def main():
if __name__ == '__main__':
main()
try:
main()
exec Exeption:
driver.close()