Permalink
Browse files

Fixed issues with register.py

  • Loading branch information...
OiNutter committed Jan 14, 2013
1 parent 616d249 commit bede65f151952fe84d26d2b4ab14c1746df88531
Showing with 3 additions and 2 deletions.
  1. +3 −2 register.py
View
@@ -1,11 +1,12 @@
import pandoc
+import os
pandoc.core.PANDOC_PATH = "pandoc"
doc = pandoc.Document()
doc.markdown = open('README.md','r').read()
f = open('README.txt','w+')
-f.write()
+f.write(doc.rst)
f.close()
-os.system("setup.py register")
+os.system("python setup.py register")
os.remove('README.txt')

0 comments on commit bede65f

Please sign in to comment.