Override print
to also print current time
This commit is contained in:
parent
c9f75286bf
commit
31b979edb3
@ -5,6 +5,8 @@ import rawpy
|
||||
from tqdm import tqdm
|
||||
from PIL import Image
|
||||
from skimage import img_as_float
|
||||
from datetime import datetime
|
||||
import builtins as __builtin__
|
||||
|
||||
class Color(Enum):
|
||||
RED = auto()
|
||||
@ -125,3 +127,6 @@ def updateExtremes(imageNpArray, minColor, maxColor):
|
||||
if maxColor is None or colorRawImageVisibleMax > maxColor:
|
||||
maxColor = colorRawImageVisibleMax
|
||||
return minColor, maxColor
|
||||
|
||||
def print(*toPrint):
|
||||
__builtin__.print(datetime.now(), *toPrint)
|
||||
|
Loading…
x
Reference in New Issue
Block a user