From 53e56f2395e806473b885a304c71f0874fcb6d08 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sun, 13 Aug 2017 21:29:02 +0000 Subject: [PATCH] Generate all json files for the android directory in a go --- cldr2json.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cldr2json.py b/cldr2json.py index 0d4fcc6d5..b380ff21d 100755 --- a/cldr2json.py +++ b/cldr2json.py @@ -204,6 +204,5 @@ if __name__ == "__main__": if os.path.isfile(source): convert_file(source, destination) elif os.path.isdir(source): - os.chdir(source) - for path in glob.glob("*-t-k0-android.xml"): + for path in glob.glob(source + "/*-t-k0-android.xml"): convert_file(path, destination)