In case Project's Folder is duffed
I realized that I had some projects which are both not VCStudio type and not Blender-Organizer type. And so it was trying to load data about those when files weren't there. So I made it ignor-able in a way.
This commit is contained in:
parent
e85be921de
commit
c756d96f23
1 changed files with 9 additions and 6 deletions
|
@ -250,12 +250,15 @@ def project_node(layer, win, x, y, project):
|
|||
# Getting info about the project. For now only Legacy. Since nothing is
|
||||
# written for the new stuff.
|
||||
|
||||
try:
|
||||
if project not in win.projects:
|
||||
win.projects[project] = analytics.get_legacy(project)
|
||||
|
||||
nameonly = win.projects[project]["name"]
|
||||
timefraction = win.projects[project]["timepassed"]
|
||||
projectfraction = win.projects[project]["fraction"]
|
||||
except:
|
||||
pass
|
||||
|
||||
node.set_line_width(10)
|
||||
UI_elements.roundrect(node, win,
|
||||
|
|
Loading…
Add table
Reference in a new issue