From aea47e018489cb0fb3b42e7b29afd43c767cdc74 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 2 May 2020 19:10:04 -0700 Subject: [PATCH] fix to use new param --- xwords4/android/scripts/info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/android/scripts/info.py b/xwords4/android/scripts/info.py index d9c03b10a..14320f24c 100755 --- a/xwords4/android/scripts/info.py +++ b/xwords4/android/scripts/info.py @@ -107,7 +107,7 @@ def getInternalSum( filePath ): '--', k_filebase + 'xw4/dawg2dict.py', '--get-sum', - '--dict', filePath ], + '--dawg', filePath ], stdout = subprocess.PIPE, stderr = subprocess.PIPE) results = proc.communicate() @@ -458,7 +458,7 @@ def getDicts( params ): if needsUpgrade: cur = { k_URL : k_urlbase + "/and_wordlists/" + path, - k_INDEX : index, k_ISUM: dictSums[path][1], + k_INDEX : index, k_ISUM: dictSums[path][-1], k_LEN : dictLens[path], } result.append( cur )