fernet value error
Traceback (most recent call last):
File "C:\Users"username"\PycharmProjects\FreeCodeCamp\mini projects\git_PW_manager.py", line 18, in
line 18 in PW manager: fer = Fernet(key)
line 39 in fernet: raise ValueError( "Fernet key must be 32 url-safe base64-encoded bytes." )
I am using Pycharm
@samthebutchr12 hey buddy, Tim actually ran the write_key() function once (to get he key.key file) and then that block of code was of no use, so he placed it as a comment. So to fix your issue, you need to remove those quotation marks ( ''' ) from the start and beginning of that block of code, you will be fine. If you run to another error, I will try my best to help !