Skip to content

Commit

Permalink
Update acquire/gui/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Schamper <[email protected]>
  • Loading branch information
cecinestpasunepipe and Schamper authored Feb 1, 2024
1 parent a1d3d9d commit 3adf964
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions acquire/gui/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ def __new__(cls, flavour: str = None, upload_available: bool = False):

cls = Win32
log.info("Creating win32 gui instance")

Check warning on line 35 in acquire/gui/base.py

View check run for this annotation

Codecov / codecov/patch

acquire/gui/base.py#L34-L35

Added lines #L34 - L35 were not covered by tests
else:
# Use the NULL-pattern here, to avoid many IFs
cls = StubGUI
log.info("Creating stub gui instance")

if flavour is None:
log.warning("GUI has been initialised with invalid flavour, possible logic flaw.")
Expand Down

0 comments on commit 3adf964

Please sign in to comment.