1
0

Escape the escape character in string

This commit is contained in:
2018-08-09 19:56:52 +01:00
parent 80d1fb4a3a
commit f8c019023a

View File

@@ -21,7 +21,7 @@ class Task:
counter += 1
# try to get priority
priorities = match("\([a-zA-Z]\)", arguments[counter])
priorities = match("\\([a-zA-Z]\\)", arguments[counter])
if priorities is not None:
self.priority = arguments[counter].split('(')[1].split(')')[0]
counter += 1