Explorar el Código

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 hace 8 años
padre
commit
87b8779604
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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):