Skip to content

Commit

Permalink
Update script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak authored Sep 16, 2023
1 parent 1128225 commit 2f9dae0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repository_downloader/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import json
from pymongo import MongoClient
import yaml
import time

# Získání proměnných z systémových proměnných
ORGANIZATION = os.environ.get('ORGANIZATION', "mlab-modules")
Expand All @@ -21,6 +22,7 @@ def get_organization_repositories():
print(url)
response = requests.get(url)
repositories += json.loads(response.text)
time.sleep(2)
return repositories

# Stažení repozitáře
Expand Down

0 comments on commit 2f9dae0

Please sign in to comment.