set the root folder for IO for scoped_tokens
This commit is contained in:
parent
666510ba78
commit
b78df43cc5
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ namespace BetterSecondBot.HttpService
|
||||||
};
|
};
|
||||||
string targetfile = "scoped_tokens.json";
|
string targetfile = "scoped_tokens.json";
|
||||||
SimpleIO io = new SimpleIO();
|
SimpleIO io = new SimpleIO();
|
||||||
|
io.ChangeRoot(Bot.use_folder);
|
||||||
if (SimpleIO.FileType(targetfile, "json") == false)
|
if (SimpleIO.FileType(targetfile, "json") == false)
|
||||||
{
|
{
|
||||||
io.WriteJsonTokens(LoadedTokens, targetfile);
|
io.WriteJsonTokens(LoadedTokens, targetfile);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue