- Implemented subscription creation, updating, and rendering in script_9.js. - Added functions for handling subscription line items, product selection, and total calculations. - Integrated AnyDesk API for session management in test_anydesk.py. - Created REST client test requests for API endpoints in api.http. - Developed a script to check ESET machine status and save details in tmp_check_eset_machine.py.
10 lines
270 B
Python
10 lines
270 B
Python
import re
|
|
with open('app/modules/sag/templates/detail.html', 'r', encoding='utf-8') as f:
|
|
text = f.read()
|
|
|
|
s = text.find('async function saveTime()')
|
|
if s != -1:
|
|
e = text.find('async function createTodoStep', s)
|
|
if e == -1: e = s + 2000
|
|
print(text[s:e])
|