log to stderr
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
4f2895f931
commit
da81edc651
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import sys
|
||||||
import time
|
import time
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from fnmatch import fnmatch
|
from fnmatch import fnmatch
|
||||||
|
@ -59,7 +60,7 @@ def log(txt):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# when using internal server or cli
|
# when using internal server or cli
|
||||||
print(repr(txt))
|
print(repr(txt), file=sys.stderr)
|
||||||
|
|
||||||
|
|
||||||
def len_html(txt):
|
def len_html(txt):
|
||||||
|
|
Loading…
Reference in New Issue