removed lots of junk from scripts folder
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
"""
|
||||
converts a static file to a web2py view. needs work
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
@@ -97,6 +100,4 @@ def convert(source, destination,prefix='imported'):
|
||||
os.makedirs(os.path.split(fullname)[0])
|
||||
open(fullname,'w').write(views[name])
|
||||
|
||||
|
||||
|
||||
convert(sys.argv[1],sys.argv[2])
|
||||
|
||||
Reference in New Issue
Block a user