update winpaths.py references
This commit is contained in:
parent
e2c6de76f4
commit
cd43a71172
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ from lbrynet.androidhelpers.paths import (
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from lbrynet.winhelpers.knownpaths import get_path, FOLDERID, UserHandle
|
from lbrynet.winhelpers.winpaths import get_path, FOLDERID, UserHandle
|
||||||
except (ImportError, ValueError, NameError):
|
except (ImportError, ValueError, NameError):
|
||||||
# Android platform: NameError: name 'c_wchar' is not defined
|
# Android platform: NameError: name 'c_wchar' is not defined
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -157,7 +157,7 @@ def get_path(folderid, user_handle=UserHandle.common):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if len(sys.argv) < 2 or sys.argv[1] in ['-?', '/?']:
|
if len(sys.argv) < 2 or sys.argv[1] in ['-?', '/?']:
|
||||||
print('python knownpaths.py FOLDERID {current|common}')
|
print('python winpaths.py FOLDERID {current|common}')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue