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

ValueError: None is not in list, for (2022,2,9,23) #22

Closed
P-Rainbow opened this issue Feb 5, 2022 · 2 comments
Closed

ValueError: None is not in list, for (2022,2,9,23) #22

P-Rainbow opened this issue Feb 5, 2022 · 2 comments

Comments

@P-Rainbow
Copy link

P-Rainbow commented Feb 5, 2022

Dear Mr. Tang,

Sorry to trouble you again.

It pops ValueError: None is not in list, when using kinqimen for (2022,2,9,23).

Can you please have a look? Thank you!

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-4-8de370ffa6bb>](https://localhost:8080/#) in <module>()
  1 from kinqimen import kinqimen
  2 
----> 3 qimen = kinqimen.Qimen(2022,2,9,23).pan()
  4 
  5 print (qimen)

2 frames
[/usr/local/lib/python3.7/dist-packages/kinqimen/config.py](https://localhost:8080/#) in new_list(olist, o)
 24 
 25 def new_list(olist, o):
---> 26     zhihead_code = olist.index(o)
 27     res1 = []
 28     for i in range(len(olist)):

ValueError: None is not in list
@kentang2017
Copy link
Owner

fixed & pls try again.

But there is a minor issue on sxtwl that daygangzhi of 2022,2,9,23 is 癸巳 but not 甲午.

@P-Rainbow
Copy link
Author

@kentang2017 , thanks again for the update and the note, dear Mr. Tang! It works now!

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

2 participants