Skip to content

Commit

Permalink
Merge pull request #187 from MikroElektronika/IvanRuzavin-patch-2
Browse files Browse the repository at this point in the history
Update build_message_web.py
  • Loading branch information
StrahinjaJacimovic authored Dec 25, 2024
2 parents 0052cee + 2ff8694 commit 67d8108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build_message_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def fetch_current_indexed_sdk_files(es : Elasticsearch, index_name):
for eachHit in response['hits']['hits']:
if not 'name' in eachHit['_source']:
continue
if 'necto_package' == eachHit['_type']:
if '_doc' == eachHit['_type']:
if False == eachHit['_source']['hidden']:
all_packages.append(eachHit['_source'])

Expand Down Expand Up @@ -198,4 +198,4 @@ def fetch_current_indexed_click_boards(es : Elasticsearch, index_name):
with open(os.path.join(os.getcwd(), 'message.txt'), 'w') as file:
file.write(todays_release)

print(todays_release)
print(todays_release)

0 comments on commit 67d8108

Please sign in to comment.