Skip to content

Commit

Permalink
Merge branch 'develop' into RQSDK-742
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin-Dongzhao committed May 16, 2024
2 parents 93fbae8 + 060719d commit fd5e2bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rqalpha/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ def init_rqdatac(rqdatac_uri):
except ImportError:
return

if isinstance(rqdatac.client.get_client(), rqdatac.client.DummyClient):
if rqdatac.initialized():
return True
else:
init_rqdatac_env(rqdatac_uri)
try:
rqdatac.init()
Expand Down

0 comments on commit fd5e2bd

Please sign in to comment.