Skip to content

Commit

Permalink
Merge pull request #155 from Glas42/main
Browse files Browse the repository at this point in the history
Fixed a bug.
  • Loading branch information
Tumppi066 authored Jan 27, 2024
2 parents 5a078c2 + a4aecd3 commit 877a6a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Improved YOLO detection for the TrafficlLightDetection.
Fixed a bug in the ScreenCapturePlacement.
4 changes: 2 additions & 2 deletions plugins/ScreenCapturePlacement/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
import screeninfo

global detectionmethod
if "NavigationDetectionV2" in settings.GetSettings("Plugins", "Enabled"):
if "NavigationDetectionV2" in settings.GetSettings("Plugins", "Enabled", value=[]):
detectionmethod = "nav"
elif "UFLDLaneDetection" in settings.GetSettings("Plugins", "Enabled"):
elif "UFLDLaneDetection" in settings.GetSettings("Plugins", "Enabled", value=[]):
detectionmethod = "ufld"
else:
detectionmethod = "lstr"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.33
1.8.34

0 comments on commit 877a6a2

Please sign in to comment.