1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed old import

This commit is contained in:
Krateng 2019-12-10 15:08:09 +01:00
parent 24267eb31d
commit 661473b482
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,0,5
version = 2,0,6
versionstr = ".".join(str(n) for n in version)

View File

@ -568,7 +568,7 @@ def module_paginate(page,pages,perpage,**keys):
# THIS FUNCTION USES THE ORIGINAL URI KEYS!!!
def module_filterselection(keys,time=True,delimit=False):
from malojatime import today, thisweek, thismonth, thisyear, alltime
from .malojatime import today, thisweek, thismonth, thisyear, alltime
filterkeys, timekeys, delimitkeys, extrakeys = uri_to_internal(keys)
# drop keys that are not relevant so they don't clutter the URI