]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - bin/optionsgen.py
Encode json more compactly.
[irc/quakenet/qwebirc.git] / bin / optionsgen.py
index 52a8d37b29056fb5160781813c552a08d243b25d..6c22e26705aed3878f64533e2f1cee62cb508377 100644 (file)
@@ -1,5 +1,6 @@
-import config, simplejson
+import config
+import qwebirc.util.qjson as json
 
 def get_options():
   options = dict(networkName=config.NETWORK_NAME, networkServices=[config.AUTH_SERVICE], loginRegex=config.  AUTH_OK_REGEX, appTitle=config.APP_TITLE, baseURL=config.BASE_URL)
-  return simplejson.dumps(options)
+  return json.dumps(options)