From c45f9a032b8b78ce758e98c6983f55566aae6834 Mon Sep 17 00:00:00 2001 From: Yogesh Date: Sat, 2 Sep 2017 19:20:45 -0400 Subject: [PATCH] bug introduced in last commit fixed in INSTALLHISTORY --- plugins/installhistory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/installhistory.py b/plugins/installhistory.py index 0a43c59..be7222c 100644 --- a/plugins/installhistory.py +++ b/plugins/installhistory.py @@ -85,7 +85,7 @@ def PrintAll(history, output_params, source_path): def Plugin_Start(mac_info): '''Main Entry point function for plugin''' installhistory_plist_path = '/Library/Receipts/InstallHistory.plist' - if MacInfo.IsValidFilePath(installhistory_plist_path): + if mac_info.IsValidFilePath(installhistory_plist_path): mac_info.ExportFile(installhistory_plist_path, __Plugin_Name) success, plist, error = mac_info.ReadPlist(installhistory_plist_path) if success: