Skip to content

Commit

Permalink
rename reserved name iter optimise dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Dec 11, 2024
1 parent f7d06aa commit 263180f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ddt4all_data/qstyle-d.qss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ QComboBox {
border-radius: 5px;
padding: 1px 1px 1px 1px;
width: 370px;
color: #ffaa00;
color: #ffffff;
}

/* Hover effect for combo box and push button */
Expand All @@ -124,7 +124,7 @@ QComboBox:on {
padding-left: 4px;
background-color: #ffaa00;
selection-background-color: #ffaa00;
color: #ffffff;
color: #000000;
border: 1px solid #ffffff;
}

Expand Down
6 changes: 3 additions & 3 deletions elm.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ def get_can_addr_snat_ext(txa):
return None


def item_count(iter):
return sum(1 for _ in iter)
def item_count(items):
return sum(1 for _ in items)


def get_available_ports():
Expand Down Expand Up @@ -299,7 +299,7 @@ def __init__(self, portName, speed, portTimeout):

portName = portName.strip()

if re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\:\d{1,5}$", portName):
if re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d{1,5}$", portName):
import socket
self.ipaddr, self.tcpprt = portName.split(':')
self.tcpprt = int(self.tcpprt)
Expand Down

0 comments on commit 263180f

Please sign in to comment.