Use value of enum, not class name
This commit is contained in:
parent
c8e7ee3ebf
commit
7fe51c340a
@ -640,10 +640,10 @@ class FAAPI:
|
|||||||
'page': 1,
|
'page': 1,
|
||||||
'q': search,
|
'q': search,
|
||||||
'do_search': 'Search',
|
'do_search': 'Search',
|
||||||
'order-by': opts.order_by,
|
'order-by': opts.order_by.value,
|
||||||
'order-direction': opts.order_direction,
|
'order-direction': opts.order_direction.value,
|
||||||
'range': opts.range,
|
'range': opts.range.value,
|
||||||
'mode': opts.match_mode
|
'mode': opts.match_mode.value
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set optional keys since they're judged on presence, not value
|
# Set optional keys since they're judged on presence, not value
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='FAAPI',
|
name='FAAPI',
|
||||||
version='0.6.1',
|
version='0.6.2',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
url='https://tem.party/gitea/tom/FAAPI',
|
url='https://tem.party/gitea/tom/FAAPI',
|
||||||
license='WTFPL',
|
license='WTFPL',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user