fffiloni commited on
Commit
f64fe4d
·
verified ·
1 Parent(s): ec2e026

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def process(git_repo_url, space_destination, user_token):
17
 
18
  # Log the contents of the tmp_dir with its subfolders
19
  print("Contents of the cloned repository:")
20
- for root, dirs, files in os.walk(repo):
21
  level = root.replace(tmp_dir, '').count(os.sep)
22
  indent = ' ' * 4 * level
23
  print(f"{indent}{os.path.basename(root)}/")
 
17
 
18
  # Log the contents of the tmp_dir with its subfolders
19
  print("Contents of the cloned repository:")
20
+ for root, dirs, files in os.walk(tmp_dir):
21
  level = root.replace(tmp_dir, '').count(os.sep)
22
  indent = ' ' * 4 * level
23
  print(f"{indent}{os.path.basename(root)}/")