Skip to content

Commit

Permalink
Merge pull request #2579 from galaxyproject/beefalo-porgy
Browse files Browse the repository at this point in the history
Skip manually copied posts
  • Loading branch information
hexylena authored Jun 4, 2024
2 parents 40bf8ca + 541f1e5 commit 28a33ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/gtn-import.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
}
folder = date_ymd + '-' + entry['link'].split('/')[-1].replace('.html', '')

if 'already-on-hub' in meta['tags']:
continue
if not os.path.exists(f"content/news/{folder}"):
sys.stderr.write(f"New post: {folder}\n")
count += 1
Expand Down

0 comments on commit 28a33ed

Please sign in to comment.