forked from gg/WeatherNews.jl
Get path to Utils.pm more reliably
This commit is contained in:
parent
e307e03891
commit
4e32bdc7af
|
@ -11,7 +11,8 @@ use DBI;
|
|||
use DBD::SQLite;
|
||||
use Path::Tiny;
|
||||
|
||||
require "../www/Utils.pm";
|
||||
my $utils_pm = path(__FILE__)->parent->parent->path("www/Utils.pm")->absolute;
|
||||
require $utils_pm;
|
||||
|
||||
# origin: https://www.youtube.com/@live_tv_aupaymarket/streams
|
||||
# However, it's easier to scrape invidious instances.
|
||||
|
|
Loading…
Reference in New Issue