Skip to content

Commit

Permalink
Fix python
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jan 14, 2025
1 parent 079cf9b commit 66d171d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions image-sync/image_sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ def fetch_site_info_cloud_info():
logging.debug("Fetching site info from cloud-info")
sites = []
# 1 - Get all sites listing
r = httpx.get(CONF.sync.cloud_info_url,
headers={"Accept": "application/json")
r = httpx.get(CONF.sync.cloud_info_url, headers={"Accept": "application/json"})
r.raise_for_status()
# 2 - Go one by one getting the shares
for file in r.json():
Expand Down

0 comments on commit 66d171d

Please sign in to comment.