Closed fireattack closed 3 years ago
Module(s) should use relative import.
Otherwise it would only work if the nndownload folder is directly in path.
nndownload
Things like
./main.py ./modules/nndownload ./module/othermodules
And then
# main.py import nndownload from module nndownload.execute("https://www.nicovideo.jp/watch/so28966396", "-g")
will break if use absolute import.
Module(s) should use relative import.
Otherwise it would only work if the
nndownload
folder is directly in path.Things like
And then
will break if use absolute import.