Skip to content

Commit

Permalink
Merge pull request #54 from hyp3rd/fix/API
Browse files Browse the repository at this point in the history
FIX: Telegram password retrival from config string
  • Loading branch information
hyp3rd authored Dec 17, 2023
2 parents d091428 + dcfb388 commit 48ae447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/telegram/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def get_password(self) -> str:
if telegram_password is not None:
return telegram_password
if not config.api.telegram_login_enabled:
return config.telegram.password.get_secret_value()
return config.telegram.password

telegram_password = await self._get_creds_from_file("password")
return str(telegram_password)
Expand Down

0 comments on commit 48ae447

Please sign in to comment.