Skip to content

Commit

Permalink
Add workaround for upstream data error
Browse files Browse the repository at this point in the history
  • Loading branch information
svoop committed Nov 23, 2023
1 parent a972c0c commit 778ab96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/aipp/regions/LF/aip/dangerous_activities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def parse
ACTIVITIES.each do |code, type|
verbose_info("processing #{code}")
AIPP.cache.espace.css(%Q(Espace[lk^="[LF][#{code} "])).each do |espace_node|
# HACK: Missing partie/volume as of AIRAC 2312 (reported)
next if espace_node['pk'] == '302508'
partie_node = AIPP.cache.partie.at_css(%Q(Partie:has(Espace[pk="#{espace_node['pk']}"])))
volume_node = AIPP.cache.volume.at_css(%Q(Volume:has(Partie[pk="#{partie_node['pk']}"])))
add(
Expand Down

0 comments on commit 778ab96

Please sign in to comment.