We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61f2f4 commit 4d38f8aCopy full SHA for 4d38f8a
1 file changed
README.md
@@ -362,7 +362,7 @@ Create a *res* folder and pass it to your App class constructor:
362
```python
363
class MyApp(App):
364
def __init__(self, *args):
365
- res_path = os.path.join(os.getcwd(), 'res')
+ res_path = os.path.join(os.path.dirname(__file__), 'res')
366
super(MyApp, self).__init__(*args, static_file_path={'res':res_path})
367
```
368
0 commit comments