Skip to content

Commit

Permalink
Fix authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
Clouder0 committed Nov 12, 2021
1 parent 3727687 commit 038b925
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 153 deletions.
2 changes: 1 addition & 1 deletion SiyuanYuque/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import asyncio
import datetime
from . import siyuanHelper as siyuan
from siyuanhelper import helper as siyuan
from yuque_py import Yuque
from .config import conf
from . import config
Expand Down
2 changes: 2 additions & 0 deletions SiyuanYuque/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import toml
from siyuanhelper import helper as siyuan


conf = toml.load("sqconfig.toml")
siyuan.set_token(conf["siyuan_token"])


def write_conf():
Expand Down
151 changes: 0 additions & 151 deletions SiyuanYuque/siyuanHelper.py

This file was deleted.

3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = SiyuanYuque
version = 0.0.7
version = 0.0.8
author = Clouder
author_email = [email protected]
description = Sync SiYuan with Yuque
Expand All @@ -20,4 +20,5 @@ install_requires =
yuque-py
toml
aiohttp
siyuanhelper
python_requires = >=3.6

0 comments on commit 038b925

Please sign in to comment.