Skip to content

Commit

Permalink
Version [2.4.3]
Browse files Browse the repository at this point in the history
  • Loading branch information
I-am-PUID-0 committed Jul 17, 2024
1 parent 41fd82a commit b994b48
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## Version [2.4.3] - 2024-07-17

### Fixed

- Rclone: Fixed WebDAV URL check for Zurg startup processes to accept all 2xx status codes


## Version [2.4.2] - 2024-07-16

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def main():
logger = get_logger()

version = '2.4.2'
version = '2.4.3'

ascii_art = f'''
Expand Down
4 changes: 2 additions & 2 deletions rclone/rclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def wait_for_url(url, endpoint="/dav/", timeout=600):
else:
response = requests.get(f"{url}{endpoint}")

if response.status_code == 207:
logger.debug(f"Zurg WebDAV {url}{endpoint} is accessible.")
if 200 <= response.status_code < 300:
logger.debug(f"Zurg WebDAV {url}{endpoint} is accessible with status code {response.status_code}.")
return True
else:
logger.debug(f"Received status code {response.status_code} while waiting for {url}{endpoint} to be accessible.")
Expand Down

0 comments on commit b994b48

Please sign in to comment.