svn: r5517
This commit is contained in:
Alex Roitman
2005-12-09 04:58:43 +00:00
parent 65050b3a40
commit d5547e337c

View File

@@ -1447,7 +1447,7 @@ class ReportDialog(BareReportDialog):
# we will need to create the file/dir
# need to make sure we can create in the parent dir
parent_dir = os.path.dirname(os.path.normpath(self.target_path))
if not os.access(self.parent_dir,os.W_OK):
if not os.access(parent_dir,os.W_OK):
ErrorDialog(_('Permission problem'),
_("You do not have permissions to create "
"%s\n\n"