Skip to content

Commit

Permalink
remove unnedded code from sniffer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Jun 12, 2023
1 parent 0f4eb5a commit ee81bec
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions sniffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
import options
import version


def unicode(a):
return a


def utf8(string):
return string


__author__ = version.__author__
__copyright__ = version.__copyright__
__credits__ = version.__credits__
Expand Down Expand Up @@ -122,7 +113,7 @@ def change_frame(self):
self.stopthread()
self.startbutton.setChecked(False)
self.names = []
framename = utf8(self.framecombo.currentText())
framename = self.framecombo.currentText()
self.currentrequest = self.ecurequests.requests[framename]
self.ecu_filter = self.currentrequest.sentbytes
self.addressinfo.setText(self.ecu_filter)
Expand Down

0 comments on commit ee81bec

Please sign in to comment.