Skip to content

Commit debd489

Browse files
committed
Refactored pyfcm package
1 parent 284d9e9 commit debd489

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vscode
22
/venv
3-
dist
3+
dist
4+
__pycache__

pyhcm/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
import pyhcm
1+
from pyhcm.pyhcm import HCMNotification
2+
3+
__all__ = ['HCMNotification']

pyhcm/pyhcm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,4 @@ def notify_topic_subscribers(self, topic: str, title: str, message_body: str):
4444
"Authorization": f'Bearer {self.get_access_token()}'}
4545
)
4646
response = json.loads(urlopen(request).read())
47-
4847
return response['msg'] == 'Success'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.core import setup
22

3-
version = '1.0.4'
3+
version = '1.0.5'
44

55
setup(
66
name='pyhcm',

0 commit comments

Comments
 (0)