Delete id.py

pull/1091/head
Simon 3 years ago committed by GitHub
parent 0a1536af87
commit 963de3b17a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
id.py

@ -1,10 +0,0 @@
import re
from utils.console import print_substep
def id(reddit_obj: dict):
"""
This function takes a reddit object and returns the post id
"""
id = re.sub(r"[^\w\s-]", "", reddit_obj["thread_id"])
print_substep(f"Thread ID is {id}", style="bold blue")
return id
Loading…
Cancel
Save