From c1b8c7cf88427aaf44756e4f725c3018fa2dc48c Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Mon, 06 Feb 2012 21:04:27 +0000 Subject: Do a symlink instead of a copy from xml to xhtml --- diff --git a/epubview/epubview.py b/epubview/epubview.py index 83c866e..a626fe1 100644 --- a/epubview/epubview.py +++ b/epubview/epubview.py @@ -583,7 +583,7 @@ class _View(gtk.HBox): if filename.endswith('xml'): dest = filename.replace('xml', 'xhtml') - shutil.copy(filename, dest) + os.symlink(filename, dest) self._view.open('file://' + dest) else: self._view.open('file://' + filename) -- cgit v0.9.1