Browse Source

Merge branch 'release/0.2.0'

liuyuqi-dellpc 1 month ago
parent
commit
21ce0b1044
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client.py

+ 2 - 1
client.py

@@ -32,7 +32,8 @@ fgh curl -O https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vsco
 
     def read_config(self):
         import dotenv
-        dotenv.load_dotenv()
+        current_dir = os.getcwd()
+        dotenv.load_dotenv(os.path.join(current_dir, '.env'))
         fgit_host = os.getenv('FGH_HOST')
         try:
             if fgit_host[-1] == '/':