From 94a6495a069457f789b9ba9cb4c496ac304061c3 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 13 Oct 2017 15:27:05 +0100 Subject: [PATCH] Fix opening recent family trees --- gramps/cli/grampscli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/cli/grampscli.py b/gramps/cli/grampscli.py index 21f00f9fb..49c656c7f 100644 --- a/gramps/cli/grampscli.py +++ b/gramps/cli/grampscli.py @@ -241,7 +241,7 @@ class CLIManager: self._pmgr = BasePluginManager.get_instance() self.user = user - def open_activate(self, path, username, password): + def open_activate(self, path, username=None, password=None): """ Open and make a family tree active """ @@ -254,7 +254,7 @@ class CLIManager: print(_('ERROR: %s') % errormessage, file=sys.stderr) sys.exit(1) - def _read_recent_file(self, filename, username, password): + def _read_recent_file(self, filename, username=None, password=None): """ Called when a file needs to be loaded """