From e4a85660770ee40d362c2c90a682e5884e4d2347 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Fri, 28 Jun 2019 05:55:43 -0400 Subject: [PATCH] Added missing self --- pastebin/pastebin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastebin/pastebin.py b/pastebin/pastebin.py index 15bb26a..cb0575f 100644 --- a/pastebin/pastebin.py +++ b/pastebin/pastebin.py @@ -294,7 +294,7 @@ class PasteBin: def create_user_key(self, username, password): params = {'api_dev_key':self.api_dev_key, 'api_user_name':username, 'api_user_password':password} - return api_call('api_login.php', params) + return self.api_call('api_login.php', params) def paste(self, data, guest=False, name=None, format=None, private=None, expire=None): params = {'api_dev_key':self.api_dev_key, 'api_option':'paste', 'api_paste_code':data}