prettify: make sure we prefer the included fprettify over any other

This commit is contained in:
Tiziano Müller 2019-11-22 18:02:46 +01:00 committed by Tiziano Müller
parent a698b45906
commit 4a2acb8bc6

View file

@ -25,7 +25,7 @@ except ImportError:
from prettify_cp2k import normalizeFortranFile
from prettify_cp2k import replacer
sys.path.append(path.join(path.dirname(path.abspath(__file__)), "fprettify"))
sys.path.insert(0, path.join(path.dirname(path.abspath(__file__)), "fprettify"))
from fprettify import reformat_ffile, fparse_utils, log_exception