Skip to content

Commit

Permalink
Fix exception from progress windows when comtypes isn't available.
Browse files Browse the repository at this point in the history
  • Loading branch information
zewt committed May 29, 2021
1 parent 5b262d1 commit 9441b53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/zMayaTools/taskbar_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class ProgressWindowWindowsTaskbarUnavailable(util.ProgressWindow):
@classmethod
def available(cls):
return False

def set_total_progress_value(self, total_progress_values):
pass

ProgressWindowWindowsTaskbar = ProgressWindowWindowsTaskbarUnavailable

0 comments on commit 9441b53

Please sign in to comment.