1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

bugfix: pattern was not defined

This commit is contained in:
elcerdo 2010-04-26 18:52:18 +02:00
parent 0e7ef2e721
commit 3936e28650

View File

@ -144,7 +144,7 @@ else:
len(patterns[0])>0 and\ len(patterns[0])>0 and\
patterns[0][0]=="/" and\ patterns[0][0]=="/" and\
os.path.exists(patterns[0]): os.path.exists(patterns[0]):
if not completion : print pattern if not completion : print patterns[0]
else: else:
endmatch=re.search("__([0-9]+)",patterns[-1]) endmatch=re.search("__([0-9]+)",patterns[-1])
if endmatch: if endmatch: