diff --git a/.pylintrc b/.pylintrc index 1eb77c9..f50164f 100644 --- a/.pylintrc +++ b/.pylintrc @@ -17,7 +17,6 @@ disable= R0914, R0915, R1705, - W0105, W0107, W0110, W0150, diff --git a/db/base/models.py b/db/base/models.py index b579f83..485d75e 100644 --- a/db/base/models.py +++ b/db/base/models.py @@ -2,7 +2,6 @@ from __future__ import absolute_import, division, print_function, \ unicode_literals -import json import logging from os import path from uuid import uuid4 @@ -298,19 +297,6 @@ class DemodData(models.Model): def __str__(self): return 'data-for-{0}'.format(self.satellite.norad_cat_id) - # TODO: this is a relic of the first attempt at payload decoding and - # should be refactored out or changed to actually fetch the decoded - # frame (from influx?) - def display_decoded(self): - """Returns the contents of payload_decoded - - :returns: json-formatted contents of payload_decoded - """ - try: - json.dumps(self.payload_decoded) - except Exception: - '{}' - def display_frame(self): """Returns the contents of the saved frame file for this DemodData