Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You forgot to set __date__ global variable. #3

Open
pranithan-kang opened this issue Jan 7, 2020 · 0 comments
Open

You forgot to set __date__ global variable. #3

pranithan-kang opened this issue Jan 7, 2020 · 0 comments

Comments

@pranithan-kang
Copy link

I ran the command

 > py codetective.py -ver

and got the error:

Traceback (most recent call last):
File "codetective.py", line 986, in
show_version()
File "codetective.py", line 890, in show_version
print('Codetective v' + __version__ + ' ' + __date__)
NameError: name '__date__' is not defined

So, I think you forgot to set the global variable date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant