mirror of
https://github.com/developersIndia/deviras.git
synced 2024-12-22 08:09:49 +05:30
🐛 ignore ssl check while fetching feed
This commit is contained in:
parent
48e2a025d0
commit
13498be553
@ -14,6 +14,10 @@ SECONDS_IN_WEEK = 60 * 60 * 24 * 7
|
||||
# Date Month, Year
|
||||
STRFTIME_FORMAT = "%d %B, %Y"
|
||||
|
||||
import ssl
|
||||
if hasattr(ssl, '_create_unverified_context'):
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
|
||||
class Config:
|
||||
DB_PATH = "db.json"
|
||||
SUBREDDIT = "developersindia"
|
||||
|
Loading…
Reference in New Issue
Block a user