mirror of
https://github.com/uroni/urbackup-server-python-web-api-wrapper.git
synced 2025-10-26 11:38:16 +00:00
add download function
This commit is contained in:
parent
144b273f49
commit
35780b8e33
@ -473,8 +473,9 @@ class urbackup_server:
|
||||
|
||||
if response.status != 200:
|
||||
return None
|
||||
|
||||
return response
|
||||
data = response.read()
|
||||
response.close()
|
||||
return data
|
||||
|
||||
def get_groups(self):
|
||||
if not self.login():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user