payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/SoftwareQuTech/CQC-Python/issues/25","repository_url":"https://api.github.com/repos/SoftwareQuTech/CQC-Python","labels_url":"https://api.github.com/repos/SoftwareQuTech/CQC-Python/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/SoftwareQuTech/CQC-Python/issues/25/comments","events_url":"https://api.github.com/repos/SoftwareQuTech/CQC-Python/issues/25/events","html_url":"https://github.com/SoftwareQuTech/CQC-Python/issues/25","id":457892004,"node_id":"MDU6SXNzdWU0NTc4OTIwMDQ=","number":25,"title":"Create Bell PAr","user":{"login":"apassenger","id":25195538,"node_id":"MDQ6VXNlcjI1MTk1NTM4","avatar_url":"https://avatars0.githubusercontent.com/u/25195538?v=4","gravatar_id":"","url":"https://api.github.com/users/apassenger","html_url":"https://github.com/apassenger","followers_url":"https://api.github.com/users/apassenger/followers","following_url":"https://api.github.com/users/apassenger/following{/other_user}","gists_url":"https://api.github.com/users/apassenger/gists{/gist_id}","starred_url":"https://api.github.com/users/apassenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apassenger/subscriptions","organizations_url":"https://api.github.com/users/apassenger/orgs","repos_url":"https://api.github.com/users/apassenger/repos","events_url":"https://api.github.com/users/apassenger/events{/privacy}","received_events_url":"https://api.github.com/users/apassenger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-06-19T09:03:22Z","updated_at":"2019-06-19T09:03:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi I wrote a fuction but I have this error:\r\n\r\n> File \"quantum_state_teleportation.py\", line 7, in generate_bell_pair\r\n    qubit2 = qubit(\"Bob\")\r\n  File \"/home/gozde/.local/lib/python3.6/site-packages/cqc/pythonLib.py\", line 1494, in __init__\r\n    if not self._cqc._opened_with_with:\r\nAttributeError: 'str' object has no attribute '_opened_with_with'\r\n\r\n\r\nHow can I remove the error??\r\n\r\n \r\n```\r\ndef generate_bell_pair():\r\n with CQCConnection(\"Alice\") as Alice:\r\n  qubit1 = qubit(Alice)\r\n  qubit2 = qubit(\"Bob\")\r\n  qubit1.H()\r\n  qubit1.cnot(qubit2)\r\n return qubit1,qubit2\r\n``qubit1, qubit2 = enerate_bell_pair()"}}
other: {"actor":{"display_login":"apassenger"}}