Skip to content

Commit 72c818a

Browse files
authored
Update main_controller.py
1 parent 92f235e commit 72c818a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main_controller.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def internet_on():
4646
print("Getting provider...")
4747
if not IBMQ.active_account():
4848
if internet_on():
49-
IBMQ.enable_account(Qconfig_IBMQ_experience.APItoken)
49+
#IBMQ.enable_account(Qconfig_IBMQ_experience.APItoken)
50+
IBMQ.load_account()
5051
provider = IBMQ.get_provider()
5152
else:
5253
hat.show_message("Offline mode")

0 commit comments

Comments
 (0)