author | Alberto Bertogli
<albertito@gmail.com> 2007-05-22 05:28:52 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-05-22 05:28:52 UTC |
parent | 7135d5218bf8802739562752f2d3cc5e451f07c2 |
blitiri.cgi | +2 | -1 |
diff --git a/blitiri.cgi b/blitiri.cgi index a72ccdd..c43835d 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -627,7 +627,8 @@ def handle_cmd(): art_path = os.path.realpath(sys.argv[2]) if os.path.commonprefix([data_path, art_path]) != data_path: - print "Error: article must be inside data dir" + print "Error: article (%s) must be inside data_path (%s)" % \ + (art_path, data_path) return 1 art_path = art_path[len(data_path):]