diff --git a/pep2pyramid.py b/pep2pyramid.py
index ac3bfa53f..fde655fe7 100755
--- a/pep2pyramid.py
+++ b/pep2pyramid.py
@@ -34,7 +34,7 @@ Options:
The optional arguments ``peps`` are either pep numbers or .txt files.
"""
-destDirBase = '/data/ftp.python.org/pub/beta.python.org/build/data/doc/peps'
+destDirBase = '/data/ftp.python.org/pub/beta.python.org/build/data/dev/peps'
import sys
import os
@@ -244,7 +244,7 @@ def fixfile(inpath, input_lines, outfile):
need_pre = 0
print >> outfile, re.sub(
parts[1],
- '%s' % (int(parts[1]),
+ '%s' % (int(parts[1]),
parts[1]), line, 1),
continue
elif parts and '@' in parts[-1]: