Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
audy committed Feb 6, 2019
1 parent b76410a commit ddc11ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onecodex/vendored/potion_client/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def __new__(cls, uri=None, **kwargs):
instance = None
if uri is not None:
if (
not (isinstance(uri, six.string_types) and uri.startswith("/"))
and cls._self is not None
not (isinstance(uri, six.string_types) and uri.startswith("/")) and cls._self is not None
):
uri = cls._self.href.format(id=uri)

Expand Down

0 comments on commit ddc11ae

Please sign in to comment.