[pan-gp] Fix filename for PAN-GP

This commit is contained in:
Nemo
2022-07-10 12:58:02 +05:30
parent 202e2cfd8b
commit 55aef74d45
2 changed files with 1 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
import json
import urllib.request
from bs4 import BeautifulSoup
from html.parser import HTMLParser
URL = "https://www.paloaltonetworks.com/services/support/end-of-life-announcements/end-of-life-summary"
@@ -16,5 +15,5 @@ with urllib.request.urlopen(URL, data=None, timeout=5) as response:
abs_date = f"{year}-{month:0>2}-{date:0>2}"
list[version] = abs_date
with open('releases/pangp.json', 'w') as f:
with open('releases/pan-gp.json', 'w') as f:
f.write(json.dumps(list, indent=2))