Sfoglia il codice sorgente

filetime_from_git: Use relative imports.

Without this, the plugin doesn't work for me using Python 3.

Signed-off-by: Tilman Blumenbach <tilman+git@ax86.net>
Tilman Blumenbach 8 anni fa
parent
commit
87b8779604
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      filetime_from_git/filetime_from_git.py

+ 1 - 1
filetime_from_git/filetime_from_git.py

@@ -4,7 +4,7 @@ import os
 from pelican import signals, contents
 from pelican.utils import strftime, set_date_tzinfo
 from datetime import datetime
-from git_wrapper import git_wrapper
+from .git_wrapper import git_wrapper
 
 
 def datetime_from_timestamp(timestamp, content):