Skip to content

Commit

Permalink
0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandervolikov committed Oct 23, 2018
1 parent 9218663 commit 4555848
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [0.6.1] - 2018-10-23
### del some functions for version 1.4.2 sportiduino

## [0.6.0] - 2018-10-03
### add function for sportiduino v.1.4.0

Expand Down
17 changes: 1 addition & 16 deletions SportiduinoPQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ def PassCard_clicked(self):
workTime = self.WorkTime.currentText()
stFi = self.StartFinish.currentText()
checkIT = self.CheckInitTime.currentText()
cardCap = self.CardCap.currentText()
autoDel = self.AutoDel.currentText()

if (workTime == '6 hour'):
Expand All @@ -290,21 +289,7 @@ def PassCard_clicked(self):
elif (autoDel == 'on'):
d = 0b1

if (cardCap == '48'):
e = 0b111
elif (cardCap == '43'):
e = 0b110
elif (cardCap == '38'):
e = 0b101
elif (cardCap == '33'):
e = 0b100
elif (cardCap == '23'):
e = 0b11
elif (cardCap == '18'):
e = 0b10


setSt = a + ( b<<2) + (c<<3) + (d<<4) + (e<<5)
setSt = a + ( b<<2) + (c<<3) + (d<<4)

if (self.OldPass.text().isdigit()):
oldPass = int(self.OldPass.text())
Expand Down

0 comments on commit 4555848

Please sign in to comment.