We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adab64e commit a139c20Copy full SHA for a139c20
src/classes/query.py
@@ -244,8 +244,8 @@ def absolute_path(self):
244
245
# Try to expand path relative to project folder
246
app = get_app()
247
- if (app and hasattr("project", app)
248
- and hasattr("current_filepath", app.project)):
+ if (app and hasattr(app, "project")
+ and hasattr(app.project, "current_filepath")):
249
project_folder = os.path.dirname(app.project.current_filepath)
250
file_path = os.path.abspath(os.path.join(project_folder, file_path))
251
0 commit comments