mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-06 02:16:45 +00:00
fix(time_format): invalid comparison of strings to enums
This commit is contained in:
parent
c73541a88b
commit
8aed2d51c8
@ -10,7 +10,7 @@ from typing import Optional
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class ParseDurationUnitFormat(Enum):
|
||||
class ParseDurationUnitFormat(str, Enum):
|
||||
SECONDS0 = "s"
|
||||
SECONDS1 = "second"
|
||||
SECONDS2 = "seconds"
|
||||
|
Loading…
x
Reference in New Issue
Block a user