mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-04 08:59:23 +01:00
Fixed bug in printf
This commit is contained in:
parent
46eb87808f
commit
ea787b8441
@ -173,7 +173,7 @@ def msg(s, priority='low'):
|
|||||||
|
|
||||||
def printf(msg):
|
def printf(msg):
|
||||||
if printf:
|
if printf:
|
||||||
print '*** %s' % (msg)
|
print '*** ' + str(msg)
|
||||||
|
|
||||||
def methodNamePrintf(obj, methodName):
|
def methodNamePrintf(obj, methodName):
|
||||||
printf('%s: %s' % (obj.__class__.__name__, methodName))
|
printf('%s: %s' % (obj.__class__.__name__, methodName))
|
||||||
|
Loading…
Reference in New Issue
Block a user