fix: git constant message about Update - will work as normal now with development branch, fix: Removed the 'None' directory creation problem

This commit is contained in:
evilhero 2012-12-17 03:13:14 -05:00
parent a46f43a6cf
commit 05dd676cc9
3 changed files with 2 additions and 15 deletions

View File

@ -1 +1 @@
MYLAR_VERSION = "master"
MYLAR_VERSION = "development"

View File

@ -21,7 +21,7 @@ from mylar import logger, version
import lib.simplejson as simplejson
user = "evilhero"
branch = "master"
branch = "development"
def runGit(args):

View File

@ -64,19 +64,6 @@ class WebInterface(object):
issues = myDB.select('SELECT * from issues WHERE ComicID=? order by Int_IssueNumber DESC', [ComicID])
if comic is None:
raise cherrypy.HTTPRedirect("home")
else:
# make sure comic dir exists..
comlocation = comic['ComicLocation']
if os.path.isdir(str(comlocation)): pass
#logger.info(u"Directory (" + str(comlocation) + ") already exists! Continuing...")
else:
print ("Directory doesn't exist!")
try:
os.makedirs(str(comlocation))
logger.info(u"No directory found - So I created one at: " + str(comlocation))
except OSError:
logger.error(u"Could not create directory for comic : " + str(comlocation))
comicConfig = {
"comiclocation" : mylar.COMIC_LOCATION
}