diff options
| author | Jon duSaint | 2023-09-14 09:04:32 -0700 |
|---|---|---|
| committer | Jon duSaint | 2023-09-14 09:04:32 -0700 |
| commit | cd0dbda115ef37e56adfc1095079d8370940b444 (patch) | |
| tree | b9b28264d070dbb622b6b7dbd6cc076db43f53db | |
| parent | 678d871e91a297cfb47d45efdf124467c7de429c (diff) | |
reolink: Fix local import path
Derp error caused the local module not to be imported when –debug was specified.
| -rwxr-xr-x | reolink/reolink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reolink/reolink b/reolink/reolink index 0ce9ab4..453f203 100755 --- a/reolink/reolink +++ b/reolink/reolink @@ -130,7 +130,7 @@ BEGIN { my $wd = File::Spec->rel2abs ($0); $wd =~ s|/[^/]+$||; if (-f "$wd/Reolink.pm") { - push @INC, $wd; + unshift @INC, $wd; } require Reolink; Reolink->import(); |
