|
@@ -846,7 +846,9 @@ def convert_ascii(infile, morphfiles, outfile):
|
|
|
|
|
|
morphData = []
|
|
|
for mfilepattern in morphfiles.split():
|
|
|
- for path in glob.glob(mfilepattern):
|
|
|
+ matches = glob.glob(mfilepattern)
|
|
|
+ matches.sort()
|
|
|
+ for path in matches:
|
|
|
normpath = os.path.normpath(path)
|
|
|
if normpath != norminfile or not skipOriginalMorph:
|
|
|
name = os.path.basename(normpath)
|
|
@@ -1276,4 +1278,4 @@ if __name__ == "__main__":
|
|
|
convert_ascii(infile, morphfiles, outfile)
|
|
|
elif TYPE == "binary":
|
|
|
convert_binary(infile, outfile)
|
|
|
-
|
|
|
+
|