mirror of
https://github.com/developersIndia/deviras.git
synced 2024-12-22 16:19:50 +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
|
# Date Month, Year
|
||||||
STRFTIME_FORMAT = "%d %B, %Y"
|
STRFTIME_FORMAT = "%d %B, %Y"
|
||||||
|
|
||||||
|
import ssl
|
||||||
|
if hasattr(ssl, '_create_unverified_context'):
|
||||||
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
DB_PATH = "db.json"
|
DB_PATH = "db.json"
|
||||||
SUBREDDIT = "developersindia"
|
SUBREDDIT = "developersindia"
|
||||||
|
Loading…
Reference in New Issue
Block a user