mirror of
https://github.com/Hopiu/django.git
synced 2026-05-16 19:41:06 +00:00
Removed redundant check from WKTWriter.__init__().
This is already checked in trim.setter.
This commit is contained in:
parent
d1855c4847
commit
7f2bc365b3
1 changed files with 1 additions and 2 deletions
|
|
@ -189,8 +189,7 @@ class WKTWriter(IOBase):
|
||||||
|
|
||||||
def __init__(self, dim=2, trim=False, precision=None):
|
def __init__(self, dim=2, trim=False, precision=None):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
if bool(trim) != self._trim:
|
self.trim = trim
|
||||||
self.trim = trim
|
|
||||||
if precision is not None:
|
if precision is not None:
|
||||||
self.precision = precision
|
self.precision = precision
|
||||||
self.outdim = dim
|
self.outdim = dim
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue