Skip to content

Commit 734a064

Browse files
authored
Merge pull request #5 from EncoreTechnologies/hotfix/fix-ci-errors
hotfix/fix-ci-errors
2 parents 5f00f40 + a6b186c commit 734a064

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
# 1.0.1
4+
5+
* Fixed CI errors, encodestring is deprecated alias of encodebytes
6+
37
# 1.0.0
48

59
* Drop Python 2.7 support

actions/lib/action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, config):
1515
self.url = "{}:{}/rest/items".format(self.hostname, self.port)
1616

1717
if self.username and self.password:
18-
self.auth = base64.encodestring(
18+
self.auth = base64.encodebytes(
1919
'%s:%s' % (self.username, self.password)).replace('\n', '')
2020

2121
def _headers(self):

pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords:
77
- iot
88
- smart home
99
- home automation
10-
version: 1.0.0
10+
version: 1.0.1
1111
python_versions:
1212
- "3"
1313
author: James Fryman

0 commit comments

Comments
 (0)