Skip to content

Commit

Permalink
Merge pull request #198 from sfmqrb/fix-#197
Browse files Browse the repository at this point in the history
  • Loading branch information
Glyphack committed Apr 30, 2023
2 parents 629cc49 + e4d7ff6 commit 7e396b9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion pytse_client/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
def _get_list_of_processed_stats(
raw_key_stats: str,
) -> Tuple[List[str], List[str]]:

# group 1 is idx, group 2 is key, group 3 is value
proccessed_key_stats = re.sub(
r"([0-9]+)\,([0-9]+)\,([0-9\.]+)\;",
Expand Down
2 changes: 1 addition & 1 deletion pytse_client/ticker/ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def get_ticker_real_time_info_response(self) -> RealtimeTickerInfo:
best_supply_price = (
sell_orders[0].price if 0 < len(sell_orders) else None
)
except (IndexError):
except IndexError:
buy_orders = []
sell_orders = []
logger.warning(
Expand Down
2 changes: 1 addition & 1 deletion pytse_client/ticker_statisticals/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_keys_of_market_watch():
"volume_of_trans",
"value_of_trans",
"min_price",
"max_year",
"max_price",
"yesterday_price",
"EPS",
"base_volume",
Expand Down
1 change: 0 additions & 1 deletion pytse_client/utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ def catch(*exception_args):
def wrapper(func):
@functools.wraps(func)
def inner(*args, **kwargs):

try:
return func(*args, **kwargs)

Expand Down

0 comments on commit 7e396b9

Please sign in to comment.