Format and typo
This commit is contained in:
parent
40fc84fcec
commit
26d1f5b6e8
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user