Update
svn: r5517
This commit is contained in:
@@ -1447,7 +1447,7 @@ class ReportDialog(BareReportDialog):
|
|||||||
# we will need to create the file/dir
|
# we will need to create the file/dir
|
||||||
# need to make sure we can create in the parent dir
|
# need to make sure we can create in the parent dir
|
||||||
parent_dir = os.path.dirname(os.path.normpath(self.target_path))
|
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'),
|
ErrorDialog(_('Permission problem'),
|
||||||
_("You do not have permissions to create "
|
_("You do not have permissions to create "
|
||||||
"%s\n\n"
|
"%s\n\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user