Format and typo

This commit is contained in:
nemunaire 2016-10-23 21:33:58 +02:00
parent 97a1385903
commit cf8e1cffc5

View File

@ -96,7 +96,7 @@ def main():
with open(args.pidfile, "w+") as f: with open(args.pidfile, "w+") as f:
f.write(str(os.getpid())) f.write(str(os.getpid()))
# Setup loggin interface # Setup logging interface
import logging import logging
logger = logging.getLogger("nemubot") logger = logging.getLogger("nemubot")
logger.setLevel(logging.DEBUG) logger.setLevel(logging.DEBUG)
@ -201,5 +201,6 @@ def main():
sigusr1handler(0, None) sigusr1handler(0, None)
sys.exit(0) sys.exit(0)
if __name__ == "__main__": if __name__ == "__main__":
main() main()