mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: wrong logging. -> logger.
This commit is contained in:
+2
-2
@@ -104,11 +104,11 @@ def create_c_from_template(settings: Settings, payload_len: int):
|
||||
max_alloc_count = 256
|
||||
if sir_alloc_count > max_alloc_count:
|
||||
# if too large, compiler will add a __checkstk dependency
|
||||
logging.warning("Too large sir allocation count {}, setting to max {}".format(
|
||||
logger.warning("Too large sir allocation count {}, setting to max {}".format(
|
||||
sir_alloc_count, max_alloc_count
|
||||
))
|
||||
sir_alloc_count = max_alloc_count
|
||||
logging.debug("-( AntiEmulation settings: iterations: {} allocs: {}".format(
|
||||
logger.debug("-( AntiEmulation settings: iterations: {} allocs: {}".format(
|
||||
sir_iteration_count, sir_alloc_count)
|
||||
)
|
||||
plugin_antiemualation = file.read()
|
||||
|
||||
Reference in New Issue
Block a user