class_sqlThread.py - changing prints to loggers #394

Merged
DivineOmega merged 8 commits from class_sqlThread_logger into master 2013-08-26 01:07:45 +02:00
Showing only changes of commit f8cdfbfaa0 - Show all commits

View File

@ -770,7 +770,7 @@ if shared.useVeryEasyProofOfWorkForTesting:
shared.networkDefaultPayloadLengthExtraBytes = int( shared.networkDefaultPayloadLengthExtraBytes = int(
shared.networkDefaultPayloadLengthExtraBytes / 7000) shared.networkDefaultPayloadLengthExtraBytes / 7000)
if __name__ == "__main__": def main():
# is the application already running? If yes then exit. # is the application already running? If yes then exit.
thisapp = singleton.singleinstance() thisapp = singleton.singleinstance()
@ -840,7 +840,9 @@ if __name__ == "__main__":
while True: while True:
time.sleep(20) time.sleep(20)
if __name__ == "__main__":
main()
# So far, the creation of and management of the Bitmessage protocol and this # So far, the creation of and management of the Bitmessage protocol and this
# client is a one-man operation. Bitcoin tips are quite appreciated. # client is a one-man operation. Bitcoin tips are quite appreciated.
# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u # 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u