Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
import os
from pathlib import Path
from urllib.error import HTTPError
from urllib.parse import unquote, urlparse
from urllib.request import urlopen

project = "misp-modules-cli"
Expand All @@ -76,7 +75,7 @@ jobs:

if "existing_filenames" not in locals():
existing_filenames = {
unquote(Path(urlparse(file_info["url"]).path).name)
file_info["filename"]
for files in payload.get("releases", {}).values()
for file_info in files
}
Expand Down