Merge pull request #5 from glenntanner3/dbl_quote
Added regex to escape double quote character in filenames
This commit is contained in:
commit
bf847b505b
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class interface_manager(GObject.GObject):
|
|||
The default value can be a text or None """
|
||||
|
||||
if (default_value != None):
|
||||
exec('self.'+text_name+' = "'+str(default_value)+'"')
|
||||
exec('self.'+text_name+' = "'+str(default_value).replace('\"','\\"')+'"')
|
||||
else:
|
||||
exec('self.'+text_name+' = None')
|
||||
self.interface_text.append( (text_name, callback) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue