We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea72730 commit aaadc2dCopy full SHA for aaadc2d
addons/source-python/packages/source-python/plugins/manager.py
@@ -263,11 +263,12 @@ def _create_plugin_info(self, plugin_name):
263
264
@staticmethod
265
def _get_public_convar_from_info_file(info):
266
- data = info.pop('public_convar', True)
+ data = info.pop('public_convar', 'True')
267
if isinstance(data, Section):
268
return data.dict()
269
270
- return data
+ # False and 0 result in False, everything else is True
271
+ return data.lower() not in ('false', '0')
272
273
274
def _get_display_in_listing_from_info_file(info):
0 commit comments