Changeset - f6a35be79a81
[Not reviewed]
default
0 1 0
Laman - 8 years ago 2017-06-12 21:52:04

removed safety copy of the served file
1 file changed with 1 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/morevna.py
Show inline comments
 
@@ -36,13 +36,7 @@ def serve(args):
 
	if args.host: conf.hosts.insert(0,args.host)
 
	if args.port: conf.port=args.port
 

	
 
	# debug copy default file
 
	import shutil
 
	origFilename=args.datafile
 
	filename=origFilename+"_"
 
	shutil.copyfile(origFilename,filename)
 

	
 
	s=Server(filename,args.tree)
 
	s=Server(args.datafile,args.tree)
 
	s.serve()
 

	
 

	
0 comments (0 inline, 0 general)