From 8f7889180fb94644b9f374a406932e12a66d544f Mon Sep 17 00:00:00 2001
From: Zachery Elledge <zelle001@odu.edu>
Date: Fri, 22 Mar 2024 10:54:06 -0400
Subject: [PATCH] minor corrections to PyQT and test-markdown

---
 PyQt.py          | 6 ++++--
 test-markdown.md | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/PyQt.py b/PyQt.py
index d5c0c4a..5c75165 100644
--- a/PyQt.py
+++ b/PyQt.py
@@ -34,10 +34,10 @@ def read_and_analyze_file():
     filepath, _ = QFileDialog.getOpenFileName(filter="Markdown Files (*.md);;All Files (*)")
 
     #Option 1 prints the whole path.@auth ZE
-    #file_path = filepath, _
+    file_path = filepath, _
 
     # Option 2 just gives you the filename itself @auth ZE
-    file_path = os.path.basename(filepath)
+    file_name = os.path.basename(filepath)
 
 
     # If a has been selected in the GUI...
@@ -97,6 +97,8 @@ def read_and_analyze_file():
             
         # Output the identified section to the GUI with newlines between each section
         report += "" # Initialize the variable to build the report string
+        report += str(file_name) + "\n\n"
+        report += "-------------------------------\n"
         report += str(file_path) + "\n\n" # Add the file name to the report
         report += "-------------------------------\n"
         for i, section in enumerate(sections):
diff --git a/test-markdown.md b/test-markdown.md
index 6d92ed9..942f2ed 100644
--- a/test-markdown.md
+++ b/test-markdown.md
@@ -17,7 +17,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mi eros, maximus
 * test Italics 1 *
 * test Italics 2 *
 
-###Under tests lists
+### Under tests lists
 
 - item 1
 * item 2