Skip to content

Commit ad41609

Browse files
committed
Fix Python 3.5 issue
1 parent 6dcebcd commit ad41609

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Versions should comply with PEP440. For a discussion on single-sourcing
1717
# the version across setup.py and the project code, see
1818
# https://packaging.python.org/en/latest/single_source_version.html
19-
version='0.1',
19+
version='0.3',
2020

2121
description='Python wrapper to access and control an UrBackup server',
2222
long_description=long_description,

urbackup_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def _get_json(self, action, params = {}):
8888
else:
8989
print("API call failed. Retrying...")
9090

91-
data = response.readall();
91+
data = response.read();
9292

9393
response.close()
9494

0 commit comments

Comments
 (0)