From 658676094731b725e1471ff8266ff0ad82d7f891 Mon Sep 17 00:00:00 2001 From: Master Jumblespeed Date: Sat, 4 Jul 2015 15:18:48 -0400 Subject: [PATCH] cleanup --- toontown/toonbase/ClientStartRemoteDB.py | 2 +- toontown/uberdog/ClientServicesManagerUD.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toontown/toonbase/ClientStartRemoteDB.py b/toontown/toonbase/ClientStartRemoteDB.py index 0860e992..6e67f875 100755 --- a/toontown/toonbase/ClientStartRemoteDB.py +++ b/toontown/toonbase/ClientStartRemoteDB.py @@ -1,7 +1,7 @@ import json import os import requests -from pandac.PandaModules import * +from panda3d.core import * username = os.environ['ttsUsername'] diff --git a/toontown/uberdog/ClientServicesManagerUD.py b/toontown/uberdog/ClientServicesManagerUD.py index cc0c9530..04bf293a 100755 --- a/toontown/uberdog/ClientServicesManagerUD.py +++ b/toontown/uberdog/ClientServicesManagerUD.py @@ -15,7 +15,7 @@ from panda3d.core import * import hashlib, hmac, json import anydbm, math, os -import urllib2, time, urllib, base64 +import urllib2, time, urllib def rejectConfig(issue, securityIssue=True, retarded=True): print @@ -140,7 +140,7 @@ class AccountDB: self.dbm = anydbm.open(filename, 'c') - def addNameRequest(self, avId, name): + def addNameRequest(self, avId, name, accountID = None): return True def getNameStatus(self, avId, callback = None):