Skip to content

Commit a3c38fd

Browse files
committed
release
1 parent d387f20 commit a3c38fd

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
<!-- do not remove -->
44

5+
## 0.0.3
6+
7+
- failed to handle stored token
8+
- missing deps
9+
510
## 0.0.1
611

712
- Initial release

‎ghtop/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.2"
1+
__version__ = "0.0.3"

‎ghtop/ghtop.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ def limit_cb(rem,quota):
3939
def _get_api():
4040
path = Path.home()/".ghtop_token"
4141
if path.is_file():
42-
try: return path.read_text().strip()
42+
try: token = path.read_text().strip()
4343
except: _exit("Error reading token")
44-
45-
token = github_auth_device()
44+
else: token = github_auth_device()
4645
path.write_text(token)
4746
return GhApi(limit_cb=limit_cb, token=token)
4847

‎settings.ini‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ author_email = j@fast.ai
66
copyright = Nat Friedman
77
description = See what is happening on GitHub in real time
88
keywords = python
9-
version = 0.0.2
9+
version = 0.0.3
1010
min_python = 3.6
1111
audience = Developers
1212
language = English
1313
license = apache2
1414
status = 2
15-
requirements = emoji enlighten py-dashing
15+
requirements = emoji enlighten py-dashing fastcore ghapi
1616
console_scripts = ghtop=ghtop.ghtop:main
1717
branch = master
1818
custom_sidebar = False

0 commit comments

Comments
 (0)