Merge branch 'tests' into develop
This commit is contained in:
commit
dcdaf9abbe
@ -120,9 +120,3 @@ class IssueString:
|
||||
|
||||
return 0.5
|
||||
return self.num
|
||||
|
||||
def as_int(self) -> Optional[int]:
|
||||
# return the int version of the float
|
||||
if self.num is None:
|
||||
return None
|
||||
return int(self.num)
|
||||
|
@ -270,6 +270,9 @@ class ImprintDict(dict):
|
||||
else:
|
||||
return (item, self.publisher, True)
|
||||
|
||||
def copy(self) -> "ImprintDict":
|
||||
return ImprintDict(self.publisher, super().copy())
|
||||
|
||||
|
||||
publishers: dict[str, ImprintDict] = {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user