Efreak commited on
Commit
a2cee50
·
unverified ·
1 Parent(s): d978a28

Fix using wrong variable

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def duplicate(source_url, dst_repo, token, new_name, dst_repo_path, repo_type):
44
  )
45
 
46
  # now clean up
47
- os.remove(filetoup)
48
  os.rmdir(dir)
49
 
50
  return (
 
44
  )
45
 
46
  # now clean up
47
+ os.remove(dir+files[0])
48
  os.rmdir(dir)
49
 
50
  return (