saving removes bad characters
This commit is contained in:
@ -1116,7 +1116,12 @@ class UpperManagement(QtCore.QObject):
|
||||
else:
|
||||
real_outnames.append(full_name)
|
||||
|
||||
outpath_set = path.with_name(real_outnames[-1]+path.suffix)
|
||||
out_name = real_outnames[-1]
|
||||
bad_character = r'/*<>\|:"'
|
||||
for c in bad_character:
|
||||
out_name = out_name.replace(c, '')
|
||||
|
||||
outpath_set = path.with_name(out_name+path.suffix)
|
||||
data_i.save(outpath_set)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user