From e1992cfd820aa6ac05ed64e1b16671e61b8ce514 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 21 Dec 2020 21:31:18 +0100 Subject: [PATCH] fix style --- Pages/Index.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index 4572b87..c4a5b7e 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -1,4 +1,5 @@ @page +@using System.IO @model IndexModel @{ ViewData["Title"] = $"webmusic on .NET {Environment.Version}"; @@ -38,7 +39,7 @@ else { @if (System.IO.File.Exists(lrcpath)) { [LRC] } - else { + else if(Directory.GetFiles(@Model.Fullpath, "*.lrc").Length != 0) { [---] } @file