On 13/02/2021 22:48, Ben Blount wrote:
> Windows env var %LOCALAPPDATA% should always be set.
> On my windows machine that points exactly to what you are after:
>>>> os.getenv("LOCALAPPDATA")
> 'C:\\Users\\Ben\\AppData\\Local'
> 
> Unfortunately I couldn't find any official documentation
> corroborating this but if Microsoft is very careful about backwards
> compatibility - it should be safe to rely on this key.
> 

Thank you Ben. I just update the code do use the environment variable on
Windows. It would be great if someone could test the code in the PR (at
least run the unittests) on Windows.

Best,
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/4608f84e-02b6-6462-7f10-cbd8593e219c%40grinta.net.

Reply via email to