diff --git a/text/models.py b/text/models.py index fa3d6c1..e3841f2 100644 --- a/text/models.py +++ b/text/models.py @@ -118,8 +118,8 @@ class Text(models.Model): if not os.path.exists(os.path.dirname(path)): os.makedirs(os.path.dirname(path)) old_dir = os.path.dirname(self.file.path) - print 'old', self.file.path - print 'new', path + #print 'old', self.file.path + #print 'new', path os.rename(self.file.path, path) #FIXME: remove old dir if its empy if not glob('%s/*' % old_dir):