1
0

Escape the escape character in string

This commit is contained in:
Akbar Rahman 2018-08-09 19:56:52 +01:00
parent 80d1fb4a3a
commit f8c019023a
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -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