Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tumppi066 committed Jan 27, 2024
2 parents b7d79ad + 877a6a2 commit 39c71d0
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 39c71d0

Please sign in to comment.