Skip to content

Commit 6c23e5e

Browse files
committed
meldapp: Older PyGObject needs this kwarg
1 parent e2adc26 commit 6c23e5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

meld/meldapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,11 @@ def cleanup():
303303

304304
def make_file_from_command_line(arg):
305305
f = command_line.create_file_for_arg(arg)
306-
if not f.query_exists():
306+
if not f.query_exists(cancellable=None):
307307
# May be a relative path with ':', misinterpreted as a URI
308308
cwd = Gio.File.new_for_path(command_line.get_cwd())
309309
relative = Gio.File.resolve_relative_path(cwd, arg)
310-
if relative.query_exists():
310+
if relative.query_exists(cancellable=None):
311311
return relative
312312
# Return the original arg for a better error message
313313
return f

0 commit comments

Comments
 (0)