Skip to content

Commit

Permalink
remove extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
ramusus committed Jan 27, 2015
1 parent 07b1d22 commit ebf5962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vkontakte_api/models.py
Expand Up @@ -125,7 +125,7 @@ def get_or_create_from_resource(self, resource):
return self.get_or_create_from_instance(instance)

def api_call(self, method='get', methods_namespace=None, **kwargs):
if self.model and self.model.methods_access_tag:
if self.model.methods_access_tag:
kwargs['methods_access_tag'] = self.model.methods_access_tag

# Priority importance of defining version:
Expand Down

0 comments on commit ebf5962

Please sign in to comment.