gramps -r PATTERN: make no be the default
This commit is contained in:
parent
887490ea5b
commit
67a6e0cf79
@ -404,10 +404,10 @@ class CLIDbManager(object):
|
||||
"No matching family tree found: '%s'" % dbname)
|
||||
# now delete them:
|
||||
for (name, directory) in match_list:
|
||||
if user is None or user.prompt(
|
||||
if user is None or not user.prompt(
|
||||
_('Remove family tree warning'),
|
||||
_('Are you sure you want to remove the family tree named\n"%s"?' % name),
|
||||
_('Yes'), _('No'), None):
|
||||
_('no'), _('yes')):
|
||||
try:
|
||||
for (top, dirs, files) in os.walk(directory):
|
||||
for filename in files:
|
||||
|
Loading…
Reference in New Issue
Block a user