Skip to content

Commit 7936e39

Browse files
committed
download from any env path
1 parent 22b7dd9 commit 7936e39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎language_tool_python/download_lt.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
else None
2929
BASE_URL = ALT_BASE_URL or 'https://www.languagetool.org/download/'
3030
FILENAME = 'LanguageTool-{version}.zip'
31-
PACKAGE_PATH = 'language_tool_python'
31+
PACKAGE_PATH = os.path.dirname(os.path.realpath(__file__))
3232
JAVA_6_COMPATIBLE_VERSION = '2.2'
3333
JAVA_7_COMPATIBLE_VERSION = '3.1'
3434
LATEST_VERSION = '4.9'

0 commit comments

Comments
 (0)