Skip to content

Commit

Permalink
update v1.0.3 fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ackness committed Aug 22, 2021
1 parent 6ef80a0 commit b5c942f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,6 @@ dmypy.json
.pyre/

auto-connect.log
release/*
release/*

.idea/*
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SZU Auto Connect

![web](https://img.shields.io/badge/SZU--AutoConnect-v1.0.2-green)
![web](https://img.shields.io/badge/SZU--AutoConnect-v1.0.3-green)

[![PyPI pyversions](https://img.shields.io/pypi/pyversions/szu-autoconnect)](https://pypi.python.org/pypi/szu-autoconnect/)

Expand All @@ -15,7 +15,7 @@
## 2.1 下载 exe 文件运行

前往 [Release](https://github.com/ackness/szu-autoconnect/releases) 下载所有版本,
或者 [点击直接下载 V1.0.2 版本](https://github.com/ackness/szu-autoconnect/releases/download/v1.0.2/SZU-AutoConnect-V1.0.2.exe).
或者 [点击直接下载 V1.0.2 版本](https://github.com/ackness/szu-autoconnect/releases/download/v1.0.3/SZU-AutoConnect-V1.0.3.exe).

## 2.2 从 pip 安装与运行

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name='szu-autoconnect',
packages=find_packages(),
version='1.0.2',
version='1.0.3',
license='MIT',
description='A simple way to get different DEXs abis for block chains.',
author='Yong',
Expand Down
8 changes: 4 additions & 4 deletions szu_autoconnect/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

def build_config():
args = argparse.ArgumentParser("SZU Auto Reconnect")
args.add_argument('--username', '-u', default='', help="your username")
args.add_argument('--password', '-p', default='', help="your password")
args.add_argument('--zone', '-z', default='office', choices=['office', 'dormitory'], help="which zone")
args.add_argument('--interval', '-i', default=60, help="time interval to check connection status")
args.add_argument('--username', '-u', default='', type=str, help="your username")
args.add_argument('--password', '-p', default='', type=str, help="your password")
args.add_argument('--zone', '-z', default='office', type=str, choices=['office', 'dormitory'], help="which zone")
args.add_argument('--interval', '-i', default=60, type=int, help="time interval to check connection status")
args.add_argument('--use_ui', '-ui', action='store_true', help="whether to use UI")

return args.parse_args()
Expand Down

0 comments on commit b5c942f

Please sign in to comment.