Skip to content
Snippets Groups Projects
Commit 2fbc081f authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-382: Replace Python2 integer division (/) with Python3 one (//)

parent b3584460
No related branches found
No related tags found
No related merge requests found
...@@ -117,8 +117,8 @@ def read_station_config(): ...@@ -117,8 +117,8 @@ def read_station_config():
if key == "RS.N_LBAS": if key == "RS.N_LBAS":
nlba = int(val) nlba = int(val)
if nlba == nrsp * 8: if nlba == nrsp * 8:
nlbl = nlba / 2 nlbl = nlba // 2
nlbh = nlba / 2 nlbh = nlba // 2
else: else:
nlbl = 0 nlbl = 0
nlbh = nlba nlbh = nlba
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment