Commits

Sepehr Taghdisian  committed 4347a82

fixed a bug in ftp upload

  • Participants
  • Parent commits 80937d5

Comments (0)

Files changed (3)

 # pymdWiki
-HTML generator for offline markdown files *(v1.2.0)*  
+HTML generator for offline markdown files *(v1.2.1)*  
 Generates a collection of HTMLs from offline markdown files and uploads them to your ftp server. Simple as that!  
 This program is based on [pypi Markdown](https://pypi.python.org/pypi/Markdown) and use that to generate HTML bodies from individual markdown files.
 

File src/mdwiki.py

                 
         # js files
         for jsfile in main_js:
-            ftp_upload_file(ftp, 'js/' + jsfile, os.path.abspath(mydir + '/js/' + jsfile), 
+            ftp_upload_file(ftp, 'js/' + jsfile, os.path.abspath(outputdir + '/js/' + jsfile), 
                 verbose)
                 
         # html files
             shutil.copy(src_filepath, os.path.abspath(destdir + '/' + jsfile))
         
 def main():
-    print 'pymdWiki v1.2.0 running ...'
+    print 'pymdWiki v1.2.1 running ...'
     
     opt = optparse.OptionParser()
     opt.add_option('-i', '--input', default='.', dest='inputdir', \

File src/themes/darkhammer/config.json

 {
     "title": "darkHAMMER wiki",
-    "footnote": "Copyright (c) 2013 - Sepehr Taghdisian (www.hmrengine.com)",
+    "footnote": "Copyright (c) 2013 - Sepehr Taghdisian, <a href='http://www.hmrengine.com'>hmrengine.com</a>",
     "logo": "logo.png"
 }