Skip to content

Commit

Permalink
fixed a major bug which tampering functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
d33pster committed Apr 12, 2024
1 parent fca0cf5 commit 086e1a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/optioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ def _argparse(self):
if y in self._gotargs:
self._argcheck = False
self._argerror = f'\'{x}\' and \'{y}\' cannot be used together.'
else:
# if argument is undefined
self._argcheck = False
self._argerror = f"undefined argument \'{y}\'"
break
else:
self._argcheck = False
self._argerror = 'ifthisthennotthat param value mismatch.'
Expand Down

0 comments on commit 086e1a5

Please sign in to comment.