Revert "Close files after use for setup script"

master^2
Erkin Alp Güney 2022-04-19 16:57:45 +03:00 committed by GitHub
parent e5586583ab
commit 83cd9ce0a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Script to:
# - Get all repo git urls from the fosscord orga and format them to make the process of updating the setup script less tiresome
# - Create a workspace file for VScode
# script to:
# - get all repo git urls from the fosscord orga and format them to make the process of updating the setup script less tiresome
# - create a workspace file for VScode
import requests
@ -17,8 +17,6 @@ for repo in response:
with open("clone_all_repos.sh","w") as f:
f.write(repos)
f.close()
with open("fosscord.code-workspace", "w") as f:
f.write(str(workspace).replace("'",'"'))
f.close()