diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-08-12 15:32:15 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-08-12 15:32:15 -0700 |
| commit | c2163394cc31598e10df6d9c6ea66d63100d675e (patch) | |
| tree | 859a2d6686309ffafafd0bcca75ebc513a4e62ec /move_to_server | |
| parent | 2363fff4e87850b6c10cdf9e16fbde0781aca5e2 (diff) | |
ok getting ready
Diffstat (limited to 'move_to_server')
| -rw-r--r-- | move_to_server | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/move_to_server b/move_to_server deleted file mode 100644 index a5fb980..0000000 --- a/move_to_server +++ /dev/null @@ -1,25 +0,0 @@ -# -# insert_cmd(dir, oldfile, newfile, cmd, url, name, tag) -# -# insert_cmd(dir, oldfile, newfile, cmd, url, name, tag) -# -## jsonp callback -#if param['callback'] is not None: -# url = (BASE_URL+dir+"/"+newfile).replace("'", "\\'") -# width, height = bin_identify (WORKING_DIR, newfile) -# print param['callback'] + "({" -# print "'url':'" + url + "'," -# print "'size':" + str(file_size (WORKING_DIR, newfile)) + "," -# print "'width':" + width + "," -# print "'height':" + height -# print "});" -# moveToS3(os.path.join(WORKING_DIR, newfile), "im/"+dir+"/"+newfile) -#else: -# print "#@im" -# print ", ".join([k+"="+str(v) for k,v in param.iteritems()]) -# print " ".join(cmd) -# print BASE_URL+dir+"/"+newfile -# print file_size (WORKING_DIR, newfile) -# print bin_identify (WORKING_DIR, newfile) -# moveToS3(os.path.join(WORKING_DIR, newfile), "im/"+dir+"/"+newfile) -# |
