--- a/trunk/tubetutor/tubetutor.py +++ b/trunk/tubetutor/tubetutor.py @@ -303,6 +303,10 @@ f.write(description) f.close() + # copy thumbnail + outputfilename=self.get_title().replace(" ", "-").replace(".", "_").replace("\n", "") + ".jpg" + shutil.copy(os.path.join(path, "tmp", "intro.jpg"), os.path.join(path, outputfilename)) + def delete(self, filename): os.remove(filename)