Closed GuillaumeDSM closed 2 years ago
Issue: interval being a str, it is immutable in Python. Therefore interval[-1] = interval[-1].upper() can't work. Use interval = f"{interval[:-1]}{interval[-1].upper()}" instead.
interval
str
interval[-1] = interval[-1].upper()
interval = f"{interval[:-1]}{interval[-1].upper()}"
Fix Bitget subscribe
Issue:
interval
being astr
, it is immutable in Python. Thereforeinterval[-1] = interval[-1].upper()
can't work. Useinterval = f"{interval[:-1]}{interval[-1].upper()}"
instead.