From eec2d36526ca2cdef8f671ecb0148398fcb6bad7 Mon Sep 17 00:00:00 2001 From: gibbyb Date: Fri, 9 May 2025 10:01:56 -0500 Subject: [PATCH] Fixes before testing & deploying --- scripts/files_to_clipboard | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/files_to_clipboard b/scripts/files_to_clipboard index 7654166..b77658d 100755 --- a/scripts/files_to_clipboard +++ b/scripts/files_to_clipboard @@ -79,15 +79,8 @@ def main(): except Exception as e: print(f"Error reading file {selected_file}: {e}") - markdown_text = '\n'.join(markdown_lines) - - # Write markdown to file - output_file = 'output.md' - with open(output_file, 'w', encoding='utf-8') as f: - f.write(markdown_text) - print(f"\nMarkdown file '{output_file}' has been generated.") - # Copy markdown content to clipboard + markdown_text = '\n'.join(markdown_lines) pyperclip.copy(markdown_text) print("Markdown content has been copied to the clipboard.")