Skip to content

Commit

Permalink
Updated Timesketch output module to work with upcoming version of Tim…
Browse files Browse the repository at this point in the history
…esketch (#3005)
  • Loading branch information
kiddinn committed Jun 5, 2020
1 parent 96ff696 commit ca40656
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plaso/output/timesketch_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@

try:
from flask import current_app
import timesketch
# TODO: Added for backwards compatibility with Timesketch installations.
# Remove once no longer needed.
try:
import timesketch.app as timesketch
except ImportError:
import timesketch
from timesketch.models import db_session as timesketch_db_session
from timesketch.models import sketch as timesketch_sketch
from timesketch.models import user as timesketch_user
Expand Down

0 comments on commit ca40656

Please sign in to comment.