Escape the escape character in string
This commit is contained in:
parent
80d1fb4a3a
commit
f8c019023a
2
Task.py
2
Task.py
@ -21,7 +21,7 @@ class Task:
|
|||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
# try to get priority
|
# try to get priority
|
||||||
priorities = match("\([a-zA-Z]\)", arguments[counter])
|
priorities = match("\\([a-zA-Z]\\)", arguments[counter])
|
||||||
if priorities is not None:
|
if priorities is not None:
|
||||||
self.priority = arguments[counter].split('(')[1].split(')')[0]
|
self.priority = arguments[counter].split('(')[1].split(')')[0]
|
||||||
counter += 1
|
counter += 1
|
||||||
|
Reference in New Issue
Block a user