Fix "Install from requirements.txt" error
@@ -763,7 +763,7 @@ class PipDialog(CommonDialog):
filename = askopenfilename(
master=self,
filetypes=[("requirements", ".txt"), (tr("all files"), ".*")],
- initialdir=get_workbench().get_local_cwd,
+ initialdir=get_workbench().get_local_cwd(),
)
if filename: # Note that missing filename may be "" or () depending on tkinter version
self._install_local_file(filename, True)
