Skip to content

Commit

Permalink
Fix syntax warning on Python 3.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
fe-ebroad committed May 4, 2021
1 parent 525a164 commit e930eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hxtool_apicache.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def apicache_processor(self, currOffset, objectType, records, myCache, refresh_i
hxtool_global.apicache['data'][objectType]['stats']['timeline'].append(myStats)

# Show log if we have updates or new records
if s_update is not 0 or s_add is not 0:
if s_update != 0 or s_add != 0:
self.logger.info("{}: [{}] {} records updated, {} records added in {} seconds".format(self.profile_id, objectType, s_update, s_add, (s_end - s_start).total_seconds()))

return currOffset
Expand Down

0 comments on commit e930eb6

Please sign in to comment.