You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the bug
I'm trying to download documents from two different Trade Republic accounts.
But the web session for the first account remains active and it is not possible to retrieve documents from the second account afterwards.
To Reproduce
Steps to reproduce the behavior:
run pytr dl_docs --last_days 180 .
Enter the TradeRepbulic phone number for the first account.
Enter the TradeRepbulic pin for the first account.
Do not save credentials.
Log confirms:
hh:mm:ss Credentials not saved
Documents for the first account are downloaded properly.
run pytr dl_docs --last_days 180 . again
Enter the TradeRepbulic phone number for the second account.
Enter the TradeRepbulic pin for the second account.
Do NOT save credentials.
Log says:
hh:mm:ss Credentials not saved
hh:mm:ss Web session resumed
hh:mm:ss Logged in
The log give the impression, that the login to the second account was successful. But actually you get or remain logged in into the first account. So documents from the second account are not downloaded. Instead documents from the first account are downloaded again.
Expected behavior
An existing web session gets closed, when pytr gets called with different credentials.
Login into the second Trade Republic account actually happens and documents from the second Trade Republic account are downloaded.
Error log
n.a.
Environment
OS: MacOS 12.1
pytr version: 0.0.18
Additional context
n.a.
The text was updated successfully, but these errors were encountered:
Description of the bug
I'm trying to download documents from two different Trade Republic accounts.
But the web session for the first account remains active and it is not possible to retrieve documents from the second account afterwards.
To Reproduce
Steps to reproduce the behavior:
pytr dl_docs --last_days 180 .
Log confirms:
Documents for the first account are downloaded properly.
pytr dl_docs --last_days 180 .
againLog says:
The log give the impression, that the login to the second account was successful. But actually you get or remain logged in into the first account. So documents from the second account are not downloaded. Instead documents from the first account are downloaded again.
Expected behavior
An existing web session gets closed, when pytr gets called with different credentials.
Login into the second Trade Republic account actually happens and documents from the second Trade Republic account are downloaded.
Error log
n.a.
Environment
Additional context
n.a.
The text was updated successfully, but these errors were encountered: