From 37f993176bfe3068954ea166b6d6b5c201c0c8c2 Mon Sep 17 00:00:00 2001 From: Haofan Zheng Date: Sun, 17 Mar 2024 22:27:48 -0700 Subject: [PATCH] Fixed a performance bug (no effect to the results/reports) --- zyAPI/Interfaces/Assignment.py | 4 ++-- zyAPI/_Meta.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zyAPI/Interfaces/Assignment.py b/zyAPI/Interfaces/Assignment.py index 41305fa..38f4a90 100644 --- a/zyAPI/Interfaces/Assignment.py +++ b/zyAPI/Interfaces/Assignment.py @@ -409,9 +409,9 @@ def ExportReportWithDues( includeTimeSpent=includeTimeSpent, ) - for due in dues: + for dIdx in range(1, len(dues)): _, dfNext = self.ExportReportWithDue( - due=due, + due=dues[dIdx], includeTimeSpent=includeTimeSpent, ) for i in range(len(df.columns)): diff --git a/zyAPI/_Meta.py b/zyAPI/_Meta.py index c472a98..643d868 100644 --- a/zyAPI/_Meta.py +++ b/zyAPI/_Meta.py @@ -9,7 +9,7 @@ -__version__ = '0.1.0' +__version__ = '0.1.1' PKG_AUTHOR = 'Haofan Zheng, Languages Systems and Data Lab, UC Santa Cruz' PKG_NAME = 'zyAPI'