Skip to content

Commit 5105edd

Browse files
authored
Merge pull request #2978 from Wurschdhaud/develop
same postfix in reset as in get
2 parents 92e66dc + e361edb commit 5105edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrevitlib/pyrevit/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def reset_config(section=None):
201201
"""
202202
from pyrevit.userconfig import user_config
203203
if not section:
204-
script_cfg_postfix = 'config'
204+
script_cfg_postfix = '_config'
205205
section = EXEC_PARAMS.command_name + script_cfg_postfix
206206
elif section in [PyRevit.PyRevitConsts.ConfigsCoreSection]:
207207
raise PyRevitException('Can not remove internal config section: {}'

0 commit comments

Comments
 (0)