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 13eef8d commit abc81b4
Show file tree
Hide file tree
Showing 2 changed files 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.json')) as f:
with open(path.join(path.dirname(__file__), '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
File renamed without changes.

0 comments on commit abc81b4

Please sign in to comment.