I have a script which downloads a file and saves to the Pictures directory.
all is working well and I set that script to run on start up. but Since then I am getting key-error i.e HOME key.
line where I getting error:
filepath=os.environ['HOME']+'//Pictures'
but it works fine when I run that script normally.
why is this happening?