Remove redundant code for setting file permissions in ChineseNfoRegistry
This commit is contained in:
@@ -246,14 +246,6 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
|
||||
try
|
||||
{
|
||||
// 尝试放开Linux文件的读写权限
|
||||
var fileInfo = new FileInfo(episodeFile)
|
||||
{
|
||||
Attributes = FileAttributes.Normal,
|
||||
IsReadOnly = false
|
||||
};
|
||||
fileInfo.Refresh();
|
||||
|
||||
episodeXml.Save(episodeFile);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user