Skip to content

Commit

Permalink
fixed: ruff fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ltdrdata committed Jan 15, 2025
1 parent fd9755e commit 4a39239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glob/manager_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def fix_broken(self):
# fix torch - reinstall torch packages if version is changed
try:
if 'torch' not in self.prev_pip_versions or 'torchvision' not in self.prev_pip_versions or 'torchaudio' not in self.prev_pip_versions:
logging.error(f"[ComfyUI-Manager] PyTorch is not installed")
logging.error("[ComfyUI-Manager] PyTorch is not installed")
elif self.prev_pip_versions['torch'] != new_pip_versions['torch'] \
or self.prev_pip_versions['torchvision'] != new_pip_versions['torchvision'] \
or self.prev_pip_versions['torchaudio'] != new_pip_versions['torchaudio']:
Expand Down

0 comments on commit 4a39239

Please sign in to comment.