bluenevus commited on
Commit
b9382d7
·
verified ·
1 Parent(s): 3795b36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def fetch_github_file(github_url, ssh_private_key):
19
  # Clean and format the SSH key
20
  ssh_private_key = '\n'.join(line.strip() for line in ssh_private_key.split('\n') if line.strip())
21
  if not ssh_private_key.startswith("-----BEGIN"):
22
- ssh_private_key = f"-----BEGIN OPENSSH PRIVATE KEY-----\n{ssh_private_key}\n-----END OPENSSH PRIVATE KEY-----"
23
 
24
 
25
  # Load the private key
 
19
  # Clean and format the SSH key
20
  ssh_private_key = '\n'.join(line.strip() for line in ssh_private_key.split('\n') if line.strip())
21
  if not ssh_private_key.startswith("-----BEGIN"):
22
+ ssh_private_key = f"-----BEGIN OPENSSH PRIVATE KEY-----\n{ssh_private_key}\n-----END OPENSSH PRIVATE KEY-----"
23
 
24
 
25
  # Load the private key