Skip to content

Commit

Permalink
Catch minor statistics version
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-p committed Feb 1, 2023
1 parent 847a72e commit 65276ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modBind/Server.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def RefreshVolatile(self, force=False):
self.viewzones={}
self.knownZones=[]
if self.stats.tag == 'statistics': # 9.10
print("STATS", self.stats.attrib['version'])
statVersion=float('.'.join(self.stats.attrib['version'].split('.')[:2]))
else: # <9.9
st=self.stats.find('statistics')
Expand Down

0 comments on commit 65276ef

Please sign in to comment.