Remove <3.8 bandaid
This commit is contained in:
parent
7092212ed5
commit
6a4fc33c30
@ -3,7 +3,6 @@
|
|||||||
Cryptocurrency Exchanges support
|
Cryptocurrency Exchanges support
|
||||||
"""
|
"""
|
||||||
import asyncio
|
import asyncio
|
||||||
import http
|
|
||||||
import inspect
|
import inspect
|
||||||
import logging
|
import logging
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
@ -45,12 +44,6 @@ from freqtrade.plugins.pairlist.pairlist_helpers import expand_pairlist
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
# Workaround for adding samesite support to pre 3.8 python
|
|
||||||
# Only applies to python3.7, and only on certain exchanges (kraken)
|
|
||||||
# Replicates the fix from starlette (which is actually causing this problem)
|
|
||||||
http.cookies.Morsel._reserved["samesite"] = "SameSite" # type: ignore
|
|
||||||
|
|
||||||
|
|
||||||
class Exchange:
|
class Exchange:
|
||||||
|
|
||||||
# Parameters to add directly to buy/sell calls (like agreeing to trading agreement)
|
# Parameters to add directly to buy/sell calls (like agreeing to trading agreement)
|
||||||
|
Loading…
Reference in New Issue
Block a user