Explorar o 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 %!s(int64=8) %!d(string=hai) anos
pai
achega
87b8779604
Modificáronse 1 ficheiros con 1 adicións e 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):