don't set warn = True, it will be overwritten in the next line (#71682)
This commit is contained in:
parent
59a240cd31
commit
a10af345a9
1 changed files with 0 additions and 1 deletions
|
@ -45,7 +45,6 @@ def to_safe_group_name(name, replacer="_", force=False, silent=False):
|
||||||
else:
|
else:
|
||||||
if C.TRANSFORM_INVALID_GROUP_CHARS == 'never':
|
if C.TRANSFORM_INVALID_GROUP_CHARS == 'never':
|
||||||
display.vvvv('Not replacing %s' % msg)
|
display.vvvv('Not replacing %s' % msg)
|
||||||
warn = True
|
|
||||||
warn = 'Invalid characters were found in group names but not replaced, use -vvvv to see details'
|
warn = 'Invalid characters were found in group names but not replaced, use -vvvv to see details'
|
||||||
|
|
||||||
if warn:
|
if warn:
|
||||||
|
|
Loading…
Reference in a new issue