Skip to content

Commit

Permalink
Handle edge case better
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Jun 21, 2024
1 parent f51c8e0 commit ee7e255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def process(self, mesh_file_name):
return "./prediction.obj"

def download_prediction(self):
if ( self.filename is None) or (not self.extension is None):
if (self.filename is None) or (self.extension is None):
LOGGER.error(
"The prediction is not available or ready to download. Wait until the result is available in the 3D viewer."
)
Expand Down

0 comments on commit ee7e255

Please sign in to comment.