Skip to content

Commit

Permalink
Merge pull request #40 from kirill-panoply/um-465-fix-syntax-warning
Browse files Browse the repository at this point in the history
[UM-487] Fix syntax warning during source code compilation
  • Loading branch information
kirill-panoply authored Feb 8, 2022
2 parents 414e497 + 570ae7f commit 7d5cab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion panoply/constants.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "2.0.11"
__version__ = "2.0.12"
__package_name__ = "panoply-python-sdk"
2 changes: 1 addition & 1 deletion panoply/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _sendloop(self):
length = len(body)
elapsed = time.time() - lastsend

if length is 0:
if length == 0:
# reset the time when there's nothing to send
lastsend = time.time()
elif length > MAXSIZE or elapsed > FLUSH_TIMEOUT:
Expand Down

0 comments on commit 7d5cab2

Please sign in to comment.