From 6a4fc33c30a370f6072b74cffbb4838b95918948 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 17 Jan 2023 19:46:56 +0100 Subject: [PATCH] Remove <3.8 bandaid --- freqtrade/exchange/exchange.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index c72f9479d..824d9777b 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -3,7 +3,6 @@ Cryptocurrency Exchanges support """ import asyncio -import http import inspect import logging from copy import deepcopy @@ -45,12 +44,6 @@ from freqtrade.plugins.pairlist.pairlist_helpers import expand_pairlist 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: # Parameters to add directly to buy/sell calls (like agreeing to trading agreement)