diff options
Diffstat (limited to 'libbe/command/import_xml.py')
-rw-r--r-- | libbe/command/import_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/import_xml.py b/libbe/command/import_xml.py index 598ecb8..287d8b7 100644 --- a/libbe/command/import_xml.py +++ b/libbe/command/import_xml.py @@ -115,7 +115,7 @@ class Import_XML (libbe.command.Command): if params['xml-file'] == '-': xml = self.stdin.read().encode(self.stdin.encoding) else: - self._check_restricted_access(storage, params['xml-file']) + self._check_restricted_access(bugdir.storage, params['xml-file']) xml = libbe.util.encoding.get_file_contents( params['xml-file']) |