Skip to content

Commit

Permalink
バグ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
pinfort committed Dec 18, 2018
1 parent 2d9aa6c commit f2773b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def getSegment(self, marker):
raise Exception("unexpected marker found. it's not supported.")
if marker != Markers.JUST_FF:
# データの最後にマーカー(2ビット)がついているので末尾2ビット削除
self.IMG_DATA = self.IMG_DATA[0:len(self.IMG_DATA - 2)]
self.IMG_DATA = self.IMG_DATA[0:len(self.IMG_DATA) - 2]
self.IMAGES.append(self.IMG_DATA)
self.IMG_DATA = []
self.IS_SCANNING = False
Expand Down

0 comments on commit f2773b7

Please sign in to comment.