minor bugs

This commit is contained in:
Yaman Qalieh 2018-01-20 23:01:47 -05:00
parent 4c8fcc4eb1
commit a04a7d0ba9
2 changed files with 1 additions and 3 deletions

View File

@ -12,7 +12,6 @@ app.config.update(
try:
with open("save.p", "rb") as f:
database = pickle.load(f)
print("Loaded", database)
except (FileNotFoundError) as e:
database = {'languages': [],
'phonemes': [],

View File

@ -66,11 +66,10 @@ function getData() {
console.log(e);
}
);
console.log(data);
}
function language(language) {
return data.languages.filter(function(element) {
return data.values.filter(function(element) {
return element.name === language;
});
}