Skip to content

Commit

Permalink
WHY DO I DO THIS
Browse files Browse the repository at this point in the history
  • Loading branch information
coopeeo authored Mar 25, 2024
1 parent 66b97b5 commit b8e365e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ def send_webhook(mod_id):
releases_folder.mkdir(parents=True, exist_ok=True)

for x in file_list:
filename = x.split("/")
filename = filename[len(filename) - 1]
listdir = x.split("/")
listdir.pop(len(listdir) - 1)
filename = x.split("/")[len(x) - 1]
if "Clicks" in listdir or "clicks" in listdir or "click" in listdir or "Click" in listdir:
shutil.copy("test" / folderName / x, clicks_folder / filename)
if "Releases" in listdir or "releases" in listdir or "release" in listdir or "Release" in listdir:
Expand Down

0 comments on commit b8e365e

Please sign in to comment.