mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: fix a bug and cleanup
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import logging
|
||||
from intervaltree import Interval, IntervalTree
|
||||
|
||||
|
||||
logger = logging.getLogger("RangeManager")
|
||||
|
||||
|
||||
class RangeManager:
|
||||
def __init__(self, min=0, max=1000):
|
||||
self.intervals = IntervalTree()
|
||||
|
||||
Reference in New Issue
Block a user