projects
/
zzz-dywypi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ported old dywypi code into a NetHack plugin.
[zzz-dywypi.git]
/
plugins
/
Pokedex
/
config.py
diff --git
a/plugins/Pokedex/config.py
b/plugins/Pokedex/config.py
index
8a4b079
..
9e538ea
100644
(file)
--- a/
plugins/Pokedex/config.py
+++ b/
plugins/Pokedex/config.py
@@
-1,3
+1,4
@@
+# encoding: utf8
###
# Copyright (c) 2010, Alex Munroe
# All rights reserved.
###
# Copyright (c) 2010, Alex Munroe
# All rights reserved.
@@
-41,9
+42,9
@@
def configure(advanced):
Pokedex = conf.registerPlugin('Pokedex')
Pokedex = conf.registerPlugin('Pokedex')
-# This is where your configuration variables (if any) should go. For example:
-# conf.registerGlobalValue(Pokedex, 'someConfigVariableName',
-# registry.Boolean(False, """Help for someConfigVariableName."""))
+conf.registerGlobalValue(Pokedex, 'databaseURL',
+ registry.String('', """SQLAlchemy-compatible URL to the pokedex
+ database."""))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: