Skip to content

Commit 40e4d7c

Browse files
committed
Tests: Work on enabling doctests
1 parent 55fc655 commit 40e4d7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mqttwarn/services/apns.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
__license__ = 'Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html)'
77

88
import json
9-
from apns import APNs, Payload
9+
try:
10+
from apns import APNs, Payload
11+
except:
12+
pass
1013

1114

1215
def plugin(srv, item):

0 commit comments

Comments
 (0)