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
|
# Getting info about the project. For now only Legacy. Since nothing is
|
||||||
# written for the new stuff.
|
# written for the new stuff.
|
||||||
|
|
||||||
if project not in win.projects:
|
try:
|
||||||
win.projects[project] = analytics.get_legacy(project)
|
if project not in win.projects:
|
||||||
|
win.projects[project] = analytics.get_legacy(project)
|
||||||
nameonly = win.projects[project]["name"]
|
|
||||||
timefraction = win.projects[project]["timepassed"]
|
nameonly = win.projects[project]["name"]
|
||||||
projectfraction = win.projects[project]["fraction"]
|
timefraction = win.projects[project]["timepassed"]
|
||||||
|
projectfraction = win.projects[project]["fraction"]
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
node.set_line_width(10)
|
node.set_line_width(10)
|
||||||
UI_elements.roundrect(node, win,
|
UI_elements.roundrect(node, win,
|
||||||
|
|
Loading…
Reference in a new issue