This commit is contained in:
@@ -312,7 +312,6 @@ def rename(path, new_name, silent=False, strict=False, vfs=True):
|
||||
samba.rename(path, join(dirname(path), new_name))
|
||||
else:
|
||||
new_name = encode(new_name, False)
|
||||
logger.info(os.path.join(os.path.dirname(path), new_name), path)
|
||||
os.rename(path, os.path.join(os.path.dirname(path), new_name))
|
||||
except:
|
||||
logger.error("ERROR when renaming the file: %s" % path)
|
||||
|
||||
Reference in New Issue
Block a user