We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
error message: return self.datetime_bookgua(int(now.year), int(now.month), int(now.day), int(now.hour)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Iching.datetime_bookgua() missing 1 required positional argument: 'minute'
return self.datetime_bookgua(int(now.year), int(now.month), int(now.day), int(now.hour)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Iching.datetime_bookgua() missing 1 required positional argument: 'minute'
看了代码, 是不是少传了minutes
def current_bookgua(self): now = datetime.datetime.now() return self.datetime_bookgua(int(now.year), int(now.month), int(now.day), int(now.hour))
def datetime_bookgua(self, y,m,d,h,minute): https://github.com/kentang2017/ichingshifa/blob/9d06cd3bfbd5fe17525826a81bec721cb80e5bac/ichingshifa/ichingshifa.py#L323C9-L323C97
def datetime_bookgua(self, y,m,d,h,minute):
The text was updated successfully, but these errors were encountered:
fix kentang2017#9
92d2f17
已经在fork修复, 请通过 pull request #10
test code: from ichingshifa import ichingshifa print(ichingshifa.Iching().current_bookgua()) ('頤之賁', '山雷頤', '變爻為六三', '拂頤,貞凶,十年勿用,無攸利。')
from ichingshifa import ichingshifa print(ichingshifa.Iching().current_bookgua()) ('頤之賁', '山雷頤', '變爻為六三', '拂頤,貞凶,十年勿用,無攸利。')
Sorry, something went wrong.
No branches or pull requests
error message:
return self.datetime_bookgua(int(now.year), int(now.month), int(now.day), int(now.hour)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Iching.datetime_bookgua() missing 1 required positional argument: 'minute'
看了代码, 是不是少传了minutes
def datetime_bookgua(self, y,m,d,h,minute):
https://github.com/kentang2017/ichingshifa/blob/9d06cd3bfbd5fe17525826a81bec721cb80e5bac/ichingshifa/ichingshifa.py#L323C9-L323C97
The text was updated successfully, but these errors were encountered: