Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Remove unnecessary variables (close #121)
  • Loading branch information
fabidick22 committed May 11, 2020
commit 071710416195116fc348de2b5c40ebded69b4ba3
6 changes: 2 additions & 4 deletions time_tracker_api/projects/projects_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,10 @@ def get_all(self, conditions: dict = None, **kwargs) -> list:
active_projects = []

for project in projects:
find = False
for customer in customers:
if customer in project:
find = True
if find:
active_projects.append(project)
active_projects.append(project)
break
return active_projects


Expand Down