google takeout: support multiple locales
uses the known locales in google_takeout_parser to determine the expected paths for each locale, and performs a partial match on the paths to detect and use match_structure
This commit is contained in:
parent
1b187b2c1b
commit
93e475795d
1 changed files with 13 additions and 7 deletions
|
@ -64,6 +64,12 @@ def inputs() -> Sequence[Path]:
|
|||
return get_files(config.takeout_path)
|
||||
|
||||
|
||||
try:
|
||||
from google_takeout_parser.locales.main import get_paths_for_functions
|
||||
|
||||
EXPECTED = tuple(get_paths_for_functions())
|
||||
|
||||
except ImportError:
|
||||
EXPECTED = (
|
||||
"My Activity",
|
||||
"Chrome",
|
||||
|
|
Loading…
Add table
Reference in a new issue