←︎ pastebin :: e4a8566


1
commit e4a85660770ee40d362c2c90a682e5884e4d2347 (HEAD -> master)
2
Author: acidvegas <acid.vegas@acid.vegas>
3
Date:   Fri Jun 28 05:55:43 2019 -0400
4
5
    Added missing self
6
---
7
 pastebin/pastebin.py | 2 +-
8
 1 file changed, 1 insertion(+), 1 deletion(-)
9
10
diff --git a/pastebin/pastebin.py b/pastebin/pastebin.py
11
index 15bb26a..cb0575f 100644
12
--- a/pastebin/pastebin.py
13
+++ b/pastebin/pastebin.py
14
@@ -294,7 +294,7 @@ class PasteBin:
15
 
16
 	def create_user_key(self, username, password):
17
 		params = {'api_dev_key':self.api_dev_key, 'api_user_name':username, 'api_user_password':password}
18
-		return api_call('api_login.php', params)
19
+		return self.api_call('api_login.php', params)
20
 
21
 	def paste(self, data, guest=False, name=None, format=None, private=None, expire=None):
22
 		params = {'api_dev_key':self.api_dev_key, 'api_option':'paste', 'api_paste_code':data}