mirror of
https://github.com/socialwifi/RouterOS-api.git
synced 2025-09-01 15:35:49 +02:00
Fix dealing with files.
This commit is contained in:
parent
96984d7595
commit
2fab77d95c
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ from routeros_api import query
|
|||
|
||||
|
||||
response_re = re.compile(b'^!(re|trap|fatal|done)$')
|
||||
attribute_re = re.compile(b'^=([^=]+)=([^=]*)$')
|
||||
tag_re = re.compile(b'^\.tag=([^=]*)$')
|
||||
attribute_re = re.compile(b'^=([^=]+)=(.*)$', re.DOTALL)
|
||||
tag_re = re.compile(b'^\.tag=(.*)$')
|
||||
|
||||
|
||||
class ResponseSentence(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue