- gddmnt, python. you and your type system

Fri, 13 Jun 2014 01:43:47 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 13 Jun 2014 01:43:47 +0300
changeset 11
90851b22ab88
parent 10
1b726db7b0ec
child 12
e843c08ee51e

- gddmnt, python. you and your type system

cobalt.py file | annotate | diff | comparison | revisions
--- a/cobalt.py	Fri Jun 13 01:34:53 2014 +0300
+++ b/cobalt.py	Fri Jun 13 01:43:47 2014 +0300
@@ -146,7 +146,7 @@
 		self.cfg = cfg
 		self.mynick = ''
 		self.verbose = cfg['verbose'] if 'verbose' in cfg else False
-		self.commandprefix = g_config['commandprefix'] if 'commandprefix' in g_config else False
+		self.commandprefix = g_config['commandprefix'][0] if 'commandprefix' in g_config else '.'
 
 		if not 'conflictsuffix' in self.cfg:
 			self.cfg['conflictsuffix'] = '`'

mercurial