Skip to content

Commit

Permalink
修正命令执行的参数、js文件打包
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaass committed Oct 2, 2021
1 parent 31970ff commit 0126be0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beancount_bot_costflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__AUTHOR__ = 'KAAAsS'
__LICENSE__ = "GPLv3"
__VERSION__ = "1.0.1"
__VERSION__ = "1.0.3"
2 changes: 1 addition & 1 deletion beancount_bot_costflow/beancount_bot_costflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _process_raw(self, input_str: str) -> str:
['node', _SCRIPT_PATH,
'--config', self.config,
'--json',
input_str], stderr=subprocess.STDOUT, shell=True, timeout=3,
input_str], stderr=subprocess.STDOUT, timeout=3,
universal_newlines=True)
except subprocess.CalledProcessError as e:
logger.error(f'Costflow 解析错误:{e.output}', e)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
name='beancount_bot_costflow',
version=__VERSION__,
packages=['beancount_bot_costflow'],
package_data={'': ['costflow-parser.js']},
url='https://github.com/kaaass/beancount_bot_costflow',
install_requires=install_requires,
license='GPLv3',
Expand Down

0 comments on commit 0126be0

Please sign in to comment.