From 60beeb5536f07ce5585df04d3b803e2af9d7649d Mon Sep 17 00:00:00 2001
From: gigamaster <1905497+gigamaster@users.noreply.github.com>
Date: Sat, 19 Oct 2024 16:04:20 +0200
Subject: [PATCH] root file

---
 src/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.py b/src/main.py
index 9b866e9..6e574fd 100755
--- a/src/main.py
+++ b/src/main.py
@@ -95,7 +95,7 @@ def main():
                           "<td class=\"size\">" + get_file_size(path) + "</td>" + 
                           "<td class=\"time\">" + get_file_modified_time(path) + "</td>")
                   
-                  if dirname == droot:
+                  if droot:
                     f.write("<td></td></tr>\n")
                   else:  
                     # File Preview - filename relative path