Commit 35f1b7351284a10801ea3368db2ce7a5cf07e1ac
1 parent
f21603bd
Exists in
master
and in
27 other branches
Split shouldn't be done on None objects
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
colab/utils/conf.py
... | ... | @@ -105,7 +105,7 @@ def load_colab_apps(): |
105 | 105 | app_name = file_name |
106 | 106 | |
107 | 107 | elif file_name.endswith('.py'): |
108 | - app_name = py_settings_d.get('name').split('.')[-1] | |
108 | + app_name = py_settings_d.get('name', '').split('.')[-1] | |
109 | 109 | |
110 | 110 | if not app_name: |
111 | 111 | logger.warning("Plugin missing name variable (%s)", file_name) | ... | ... |