Browse Source

Fix subtype

pull/28/head
Florian Mounier 12 years ago
parent
commit
42023584e6
  1. 6
      demo/cabaret.py
  2. 2
      pygal/config.py

6
demo/cabaret.py

@ -50,5 +50,11 @@ else:
wsreload.monkey_patch_http_server({'url': url}, callback=log)
app.logger.debug('HTTPServer monkey patched for url %s' % url)
try:
import wdb
except ImportError:
pass
else:
app.wsgi_app = wdb.Wdb(app.wsgi_app, start_disabled=True)
app.run(debug=True, threaded=True, host='0.0.0.0', port=12221)

2
pygal/config.py

@ -143,7 +143,7 @@ class Config(object):
x_labels_major = Key(
None, list, "Label",
"X labels that will be marked major.",
str)
subtype=str)
x_labels_major_every = Key(
None, int, "Label",

Loading…
Cancel
Save