Rename Main class to Perdoliq

This commit is contained in:
AB
2018-05-11 18:45:45 +03:00
parent 5b04a2c440
commit 380cea4589
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
from main import Main from main import Perdoliq
import configparser import configparser
import random import random
@@ -79,7 +79,7 @@ except:
with open('creds.ini', 'w') as configfile: with open('creds.ini', 'w') as configfile:
config.write(configfile) config.write(configfile)
app = Main(username, password) app = Perdoliq(username, password)
# make auth # make auth
app.auth() app.auth()

View File

@@ -9,7 +9,7 @@ import time
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
class Main: class Perdoliq:
def __init__(self, username, password): def __init__(self, username, password):
self.password = password self.password = password
self.username = username self.username = username