Skip to content

Commit

Permalink
fix issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
petronny committed Apr 20, 2015
1 parent 9f8d407 commit dd59b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinyin-comp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ if __name__ == '__main__':

# one match is found
if i == len(basename_acronym) :
candicate = os.path.join(dirname, entry).replace("./", "")
candicate = os.path.join(dirname, entry).replace("^./", "")
# if the caller is only interested with folders
if dironly == "x-d" and not os.path.isdir(candicate):
continue
Expand Down

0 comments on commit dd59b13

Please sign in to comment.