diff --git a/coder.py b/coder.py index 8d5220e08..56775c6fa 100755 --- a/coder.py +++ b/coder.py @@ -1,6 +1,5 @@ #!/usr/bin/env python - import sys import re import readline @@ -12,6 +11,7 @@ from colorama import Fore, Style from rich.live import Live from rich.text import Text from rich.markdown import Markdown +from dotenv import load_dotenv from tqdm import tqdm @@ -566,9 +566,6 @@ class Coder: return commit_hash, commit_message -import os -from dotenv import load_dotenv - def main(): load_dotenv() env_prefix = "CODER_" @@ -633,4 +630,4 @@ def main(): if __name__ == "__main__": status = main() - sys.exit(status) \ No newline at end of file + sys.exit(status)