Commit e7d1f211 authored by Joel Collins's avatar Joel Collins
Browse files

Removed forced string serialisation of objects

parent c650912f
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -100,11 +100,8 @@ class JSONEncoder(flask.json.JSONEncoder):
        else:
            # call base class implementation which takes care of
            # raising exceptions for unsupported types
            try:
            return flask.json.JSONEncoder.default(self, o)
            # if it's some mystery object, just return a string representation
            except TypeError:
                return str(o)



# HANDLE BASIC LOADING AND SAVING OF SETTINGS FILES