Skip to content

Commit 7fe7d6d

Browse files
committed
Fix Bug in get_worker returning a list
1 parent 4a61638 commit 7fe7d6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitHopper/Logic/ServerLogic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def get_server():
196196
perc_map.append(perc)
197197
map_ods += 0.01
198198
if random.random() < map_ods:
199-
return [random.choice(perc_map)]
199+
return random.choice(perc_map).name
200200

201201
return _select(Servers).name
202202

0 commit comments

Comments
 (0)