pastebin

- python wrapper for the pastebin api
git clone git://git.acid.vegas/pastebin.git
Log | Files | Refs | Archive | README | LICENSE

commit e4a85660770ee40d362c2c90a682e5884e4d2347
parent f4758c66e974e8b5d6dfcc86cb208f9c34623a8a
Author: acidvegas <acid.vegas@acid.vegas>
Date: Fri, 28 Jun 2019 05:55:43 -0400

Added missing self

Diffstat:
Mpastebin/pastebin.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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}