Skip to content

Commit

Permalink
Merge pull request #48 from ZhaoYangyang0403/bugfix/support-python-3-11
Browse files Browse the repository at this point in the history
Bugfix/support python 3.11
  • Loading branch information
yumiguan authored Jul 6, 2023
2 parents 2d141c6 + 0bcfcc2 commit c18fd3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lyrebird_bugit/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def template():
template_detail = cache.get(draft_filename)

template = template_loader.get_template(template_path)
if inspect.getargspec(template.form).args:
if inspect.signature(template.form).parameters:
template_detail = template.form({'cache': template_detail})
else:
template_detail = template.form()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='lyrebird-bugit',
version='1.12.4',
version='1.12.5',
packages=['lyrebird_bugit'],
url='https://github.com/Meituan-Dianping/lyrebird-bugit',
author='HBQA',
Expand Down

0 comments on commit c18fd3a

Please sign in to comment.