typo in 0.4 prevents adding exclusion regex
Bug #809538 reported by
clee
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Time Drive |
New
|
Undecided
|
Unassigned |
Bug Description
In version 0.4, attempting to add a regular expression to the "exclude" list in the setting dialog returns the error message invalid regular expression in a pop up. Looking at the code, there is an unqualitfied try:/except: block which hides a typo:
if not self._Validate.
but self.Validate.REGEX doesn't exist. It should be self._Validate.
I will attach a patch which fixes the typo and prints out any other exceptions which occur in this try/except block
To post a comment you must log in.
The patch worked for me, but seems to be reversed, so had to apply with patch -R timedrive/ settingsdialog. py timedrive- validate_ typo.diff