Skip to content

Commit

Permalink
fix error on atom; issue #60
Browse files Browse the repository at this point in the history
  • Loading branch information
tomweber-sas committed Mar 14, 2019
1 parent 24a7ea7 commit ed63dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sas_kernel/kernel.py
Expand Up @@ -210,7 +210,7 @@ def get_completions(self, info):
if lastproc > lastsemi:
mykey = 'p'
procer = re.search('(?i)proc\s\w+', info['code'][lastproc:])
method = procer.group(0).split(' ')[-1].upper() + mykey.encode()
method = procer.group(0).split(' ')[-1].upper() + mykey
mylist = self.compglo[method][0]
potentials = re.findall('(?i)' + info['obj'] + '.+', '\n'.join(str(x) for x in mylist), re.MULTILINE)
return potentials
Expand Down

0 comments on commit ed63dce

Please sign in to comment.