Humans forgot about Linux pathing, fixed by checking if path[-1] is jarvis
This commit is contained in:
parent
64e93fd40f
commit
987e349488
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ from os import getcwd
|
||||||
from os import sep as s
|
from os import sep as s
|
||||||
|
|
||||||
json_path = getcwd()
|
json_path = getcwd()
|
||||||
if "jarvis" not in json_path:
|
if "jarvis" != json_path.split(s)[-1]:
|
||||||
json_path += s + "jarvis"
|
json_path += s + "jarvis"
|
||||||
json_path += f"{s}data{s}json{s}"
|
json_path += f"{s}data{s}json{s}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue