Skip to content

Commit 71917d8

Browse files
committed
fix: expand user-supplied location paths (closes #58)
1 parent b6fbd2e commit 71917d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+59
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions

github_archive/_version.py

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

github_archive/archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(
8181
self.include = include.lower().split(',') if include else ''
8282
self.exclude = exclude.lower().split(',') if exclude else ''
8383
self.forks = forks
84-
self.location = location
84+
self.location = os.path.expanduser(location)
8585
self.use_https = use_https
8686
self.timeout = timeout
8787
self.threads = threads

github_archive/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
DEFAULT_BASE_URL = 'https://api.github.com'
6-
DEFAULT_LOCATION = os.path.expanduser(os.path.join('~', 'github-archive'))
6+
DEFAULT_LOCATION = os.path.join('~', 'github-archive')
77
DEFAULT_NUM_THREADS = 10
88
DEFAULT_TIMEOUT = 300
99

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 754dbc86061f458ebbfc49231e02b7c5160912ba
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit b471b129991b4a4081e009568357a83311bcb341
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 14aeb3434303c4882f7349912789f929de043493
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 43b61ec81efa383d70fcf46c44b3e4d930d7c650
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 11734631d489f48eed1ccd0d7e4eaea97aa5649c
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit c5c72cf555d6bba7a8871977f0de18a0b8fc06e2

0 commit comments

Comments
 (0)