система авторизации
This commit is contained in:
1 parent
85425483c0
commit
f6f1ae20c2
21 files changed
+581
-110
No files matched your search
+3
-2
@@ -8,13 +8,14 @@ from __future__ import annotations
|
||||
|
||||
import ctypes
|
||||
import json
|
||||
import os
|
||||
import threading
|
||||
from ctypes import wintypes
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parent
|
||||
KEYS_FILE = ROOT / "web_sim_data" / "api_keys.bin"
|
||||
EXCHANGES = {"bybit": "Bybit", "binance": "Binance", "mexc": "MEXC", "htx": "HTX", "gate": "Gate"}
|
||||
KEYS_FILE = Path(os.environ.get("CRYPTO_SCAM_DATA_DIR", ROOT / "web_sim_data")) / "api_keys.bin"
|
||||
EXCHANGES = {"bybit": "Bybit", "mexc": "MEXC", "htx": "HTX", "gate": "Gate"}
|
||||
_lock = threading.Lock()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user