diff options
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 1 | ||||
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index 6da76ee7e..90b43bc59 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -209,7 +209,6 @@ namespace Emby.Server.Implementations.AppBase protected void EnsureWriteAccess(string path) { var file = Path.Combine(path, Guid.NewGuid().ToString()); - File.WriteAllText(file, string.Empty); FileSystem.DeleteFile(file); } diff --git a/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs b/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs index c31bdd13d..5373b4392 100644 --- a/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs @@ -143,7 +143,7 @@ namespace Emby.Server.Implementations.ScheduledTasks Directory.CreateDirectory(parentPath); - string text = string.Join("|", previouslyFailedImages.ToArray()); + string text = string.Join("|", previouslyFailedImages); File.WriteAllText(failHistoryPath, text); } |
