fix user env
This commit is contained in:
parent
1e9beec018
commit
6aec5226ba
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
HOMESERVER=https://matrix.example.com
|
||||
USER=@whisper_bot:matrix.example.com
|
||||
USER_ID=@whisper_bot:matrix.example.com
|
||||
PASSWORD=super-secret-password
|
||||
|
|
|
@ -29,7 +29,7 @@ def audio_callback_closure(client: AsyncClient):
|
|||
async def main() -> None:
|
||||
load_dotenv()
|
||||
homeserver = str(os.getenv("HOMESERVER"))
|
||||
user = str(os.getenv("USER"))
|
||||
user = str(os.getenv("USER_ID"))
|
||||
password = str(os.getenv("PASSWORD"))
|
||||
print(f"login at {homeserver} with {user}")
|
||||
client = AsyncClient(homeserver, user)
|
||||
|
|
Loading…
Reference in a new issue