Test for saveability against a fetched GI, not a tempfile.

This commit is contained in:
Solderpunk 2023-11-14 00:36:43 +01:00
parent d689cbd04f
commit 33e66b439b
1 changed files with 1 additions and 1 deletions

View File

@ -1265,7 +1265,7 @@ Use 'ls -l' to see URLs."""
# No arguments given at all
# Save current item, if there is one, to a file whose name is
# inferred from the gemini path
if not self.tmp_filename:
if not self.gi:
print("You need to visit an item first!")
return
else: