Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In config.py - reading non existent dict fails the code #17

Open
dallaszkorben opened this issue May 11, 2024 · 0 comments
Open

In config.py - reading non existent dict fails the code #17

dallaszkorben opened this issue May 11, 2024 · 0 comments

Comments

@dallaszkorben
Copy link
Owner

[Sat May 11 23:57:18.716988 2024] [wsgi:error] [pid 2046:tid 548379623680] [remote 192.168.0.21:55166] File "/var/www/playem/python/playem/config/config.py", line 97, in getProjectPath
[Sat May 11 23:57:18.717001 2024] [wsgi:error] [pid 2046:tid 548379623680] [remote 192.168.0.21:55166] return self.confDict['project']['path']
[Sat May 11 23:57:18.717010 2024] [wsgi:error] [pid 2046:tid 548379623680] [remote 192.168.0.21:55166] ~~~~~~~~~~~~~^^^^^^^^^^^
[Sat May 11 23:57:18.717052 2024] [wsgi:error] [pid 2046:tid 548379623680] [remote 192.168.0.21:55166] KeyError: 'project'

USE get()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant