forked from openlp/openlp
Fix for #719514 'Themes: <file> and <otherfile> are the same file'
bzr-revno: 2197 Fixes: https://launchpad.net/bugs/719514
This commit is contained in:
commit
bd7ca6b54b
@ -698,7 +698,7 @@ class ThemeManager(QtGui.QWidget):
|
||||
finally:
|
||||
if out_file:
|
||||
out_file.close()
|
||||
if image_from and image_from != image_to:
|
||||
if image_from and os.path.abspath(image_from) != os.path.abspath(image_to):
|
||||
try:
|
||||
encoding = get_filesystem_encoding()
|
||||
shutil.copyfile(
|
||||
|
Loading…
Reference in New Issue
Block a user