Skip to content

Commit fc9eb0f

Browse files
committed
Fix bug in given sample code
1 parent 01d9a06 commit fc9eb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ sudo sh install_uget_integrator.sh
4949
5050
Relative path should work without any problems. However, we recommend to use relative paths in the following format to avoid *unexpected* runtime problems. In this format, you need to replace `"..\\uget\\bin\\uget.exe"` by the actual relative path of `uget.exe`.
5151
```python
52-
UGET_COMMAND = join(os.path.realpath(__file__), "..\\uget\\bin\\uget.exe")
52+
UGET_COMMAND = join(os.path.dirname(os.path.realpath(__file__)), "..\\uget\\bin\\uget.exe")
5353
```
5454
Above example assumes the following folder structure:
5555
```

0 commit comments

Comments
 (0)