14 lines
267 B
Python
14 lines
267 B
Python
|
# -*- Mode: Python; -*-
|
||
|
# -*- coding: utf-8 -*-
|
||
|
# vi:si:et:sw=2:sts=2:ts=2
|
||
|
|
||
|
from model import *
|
||
|
|
||
|
def findeNew():
|
||
|
archive = Archive.get(1)
|
||
|
archive.importFiles()
|
||
|
|
||
|
def extractNew():
|
||
|
for f in ArchiveFile.select(ArchiveFile.q.extracted == False):
|
||
|
f.extractAll()
|