Skip to content

Commit

Permalink
static_fields.json renamed to static_fields.txt for MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor committed Sep 12, 2018
1 parent abc81b4 commit 0253da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lingvodoc/utils/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def find_all_tags(lexical_entry, field_client_id, field_object_id, accepted, pub
return tags

def get_id_to_field_dict():
with open(path.join(path.dirname(__file__), 'static_fields.txt')) as f:
with open('static_fields.txt') as f:
dict_with_lists = json.load(f)
dict_with_tuples = {k: tuple(v) for k, v in dict_with_lists.items()}
return dict_with_tuples

0 comments on commit 0253da1

Please sign in to comment.