only tab works as separator

This commit is contained in:
Akbar Rahman 2019-01-25 17:54:18 +00:00
parent 51109be19b
commit 8256d9af08
Signed by: alvierahman90
GPG Key ID: 20609519444A1269
2 changed files with 7 additions and 7 deletions

View File

@ -135,7 +135,7 @@ def get_macros(input):
response = []
# turn input into unvalidated list of macros
macros = [re.split('[ \t]', x) for x in input.split('\n')]
macros = [re.split('[\t]', x) for x in input.split('\n')]
# validate macros
for index, macro in enumerate(macros):