mirror of
https://github.com/socialwifi/RouterOS-api.git
synced 2025-09-01 15:35:49 +02:00
Add support for RouterOS 7.18's !empty
reply word
See documentation at https://help.mikrotik.com/docs/spaces/ROS/pages/47579160/API#API-Replyword
This commit is contained in:
parent
5e7963fcfe
commit
68aaa5ace9
2 changed files with 9 additions and 1 deletions
|
@ -3,7 +3,7 @@ import re
|
|||
from routeros_api import exceptions
|
||||
from routeros_api import query
|
||||
|
||||
response_re = re.compile(rb'^!(re|trap|fatal|done)$')
|
||||
response_re = re.compile(rb'^!(re|trap|fatal|empty|done)$')
|
||||
attribute_re = re.compile(rb'^=([^=]+)=(.*)$', re.DOTALL)
|
||||
tag_re = re.compile(rb'^\.tag=(.*)$')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue