diff options
author | jomo <github@jomo.tv> | 2014-07-16 00:49:55 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-07-16 00:49:55 +0200 |
commit | 9a0779d16840b90f7166fbdd8c29c26d06d79c6e (patch) | |
tree | 2d622ecd86f7c090b8dcc1c09fc877adc1f3c354 /lagchunks.py | |
parent | a61691bb1d998919d63feddf71a348215b8639cc (diff) |
more code cleanup
Diffstat (limited to 'lagchunks.py')
-rw-r--r-- | lagchunks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lagchunks.py b/lagchunks.py index db45aa3..163d22f 100644 --- a/lagchunks.py +++ b/lagchunks.py @@ -1,4 +1,4 @@ -#pylint: disable=F0401 +#pylint: disable = F0401 import org.bukkit as bukkit from helpers import * @@ -21,7 +21,7 @@ def scan_chunks(amount): ents = chunk.getEntities() # [0]world [1]X [2]Y [3]Z [4]amount chunks.append([chunk.getWorld(), int(ents[-1].getLocation().getX()), int(ents[0].getLocation().getY()), int(ents[0].getLocation().getZ()), len(ents)]) - chunks.sort(key=lambda entry: entry[4], reverse=True) + chunks.sort(key = lambda entry: entry[4], reverse = True) lagchunks = chunks except Exception, e: error(e) |