mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Convert warnings to add the WARNING: title in the function.
This commit is contained in:
parent
58e22f77ce
commit
5773449edb
3 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ import random
|
|||
|
||||
def warning(txt):
|
||||
assert type(txt) == str
|
||||
sys.stderr.write(txt + '\n')
|
||||
sys.stderr.write('WARNING: ' + txt + '\n')
|
||||
|
||||
def isdigit(c):
|
||||
return '0' <= c <= '9'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue