Python 3 Start

This commit is contained in:
Luke Rogers 2014-03-06 11:45:00 +13:00
parent 9f029c8ceb
commit 141fe8d80c
67 changed files with 264 additions and 274 deletions

View file

@ -26,9 +26,9 @@ class Config(dict):
if not os.path.exists(self.path):
# if there is no config, show an error and die
self.logger.critical("No config file found, bot shutting down!")
print "No config file found! Bot shutting down in five seconds."
print "Copy 'config.default' to 'config.json' for defaults."
print "For help, see http://git.io/cloudbotirc. Thank you for using CloudBot!"
print("No config file found! Bot shutting down in five seconds.")
print("Copy 'config.default' to 'config.json' for defaults.")
print("For help, see http://git.io/cloudbotirc. Thank you for using CloudBot!")
time.sleep(5)
sys.exit()