Skip to content

Commit d407f66

Browse files
committed
style
1 parent faf8cda commit d407f66

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ally/RateLimit.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,16 @@
2929
"""
3030
import time
3131
from datetime import datetime, timedelta, timezone
32-
from .exception import RateLimitException
3332

3433
import pytz
3534

3635
from .classes import RequestType
36+
from .exception import RateLimitException
3737

3838
__all__ = ["query"]
3939

40-
4140
centraltz = pytz.timezone("America/Chicago")
4241

43-
4442
_rl_exp_datetime = {
4543
RequestType.Order.value: None,
4644
RequestType.Quote.value: None,
@@ -117,7 +115,7 @@ def wait_until_ally_time(req_type):
117115

118116
# Block thread
119117
total_seconds = (a_time - now).total_seconds()
120-
if total_seconds>0:
118+
if total_seconds > 0:
121119
time.sleep(total_seconds)
122120

123121

0 commit comments

Comments
 (0)