Skip to content

Commit 9b1a4a2

Browse files
author
v.paritskiy
authored
fix unresolved variable inside build_headers
It doesn't look like this function is used anywhere but IDE marks this module as module with errors so just fixing red underlines
1 parent 943ec19 commit 9b1a4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailjet_rest/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def api_call(auth, method, url, headers, data=None, filters=None, resource_id=No
9696
raise
9797

9898

99-
def build_headers(resource, action=None):
99+
def build_headers(resource, action=None, extra_headers=None):
100100
headers = {'Content-type': 'application/json'}
101101

102102
if resource.lower() == 'contactslist' and action.lower() == 'csvdata':

0 commit comments

Comments
 (0)