выполнение лабораторной на 5

This commit is contained in:
kaktuz20000
2026-10-26 17:55:33 +03:00
parent ec540a1a72
commit bd0b9f6849
34 changed files with 2818 additions and 49 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ def main():
script = Path(args.action_script).expanduser().resolve()
check(script.is_file() and os.access(script,os.X_OK),'action script must exist and be executable (chmod +x)')
check('.example.' not in script.name,'copy and implement the example hook first')
c = Client(args.base_url,args.ca_file,timeout=2)
c = Client(args.base_url,args.ca_file,timeout=10 if args.mode=='persistence' else 2)
alice,bob,eve,chat = c.bootstrap()
sent = c.message(alice,chat,'Сохранить при отказе')
original = sent['json']