Skip to content

Commit

Permalink
Fixed a bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glas42 committed Jan 27, 2024
1 parent d52323c commit a4aecd3
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 a4aecd3

Please sign in to comment.