Fixed typos

This commit is contained in:
Mustafa Arıcı 2010-08-26 13:40:05 +00:00
parent cf8357fc30
commit 3fa565d6a2
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ def handle_uploaded_file(f):
if not f.name: return False
#lets create a unique name for the image
t = str(time.time()).split(".")
img_name = t[0] + t[1].f.name.split(".")[1]
img_name = t[0] + t[1] + f.name.split(".")[1]
f.name = img_name
path = os.path.join(settings.FILE_UPLOAD_TEMP_DIR, f.name)

View File

@ -67,7 +67,7 @@ def main():
print "Usage: planet [options] [CONFIGFILE]"
print
print "Options:"
print " -v, --verbose DEBUG level loggingportera during update"
print " -v, --verbose DEBUG level logging during update"
print " -o, --offline Update the Planet from the cache only"
print " -h, --help Display this help message and exit"
print