Skip to content

Commit

Permalink
remove hardcoded path
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWindisch committed Aug 15, 2024
1 parent 02e9e9c commit bf32773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion photobooth/services/mediacollection/mediaitem.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Handle all media collection related functions
"""

import hashlib
import io
import logging
Expand All @@ -19,7 +20,7 @@
from ..config import appconfig

logger = logging.getLogger(__name__)
turbojpeg = TurboJPEG("C:/libjpeg-turbo-gcc64/bin/libturbojpeg.dll")
turbojpeg = TurboJPEG()

DATA_PATH = "./media/"
# as from image source
Expand Down
4 changes: 3 additions & 1 deletion photobooth/services/mediaprocessingservice.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Handle all media collection related functions
"""

import io
import logging
import os
Expand Down Expand Up @@ -35,7 +36,8 @@
)
from .sseservice import SseService

turbojpeg = TurboJPEG("C:/libjpeg-turbo-gcc64/bin/libturbojpeg.dll")
# turbojpeg = TurboJPEG("C:/libjpeg-turbo-gcc64/bin/libturbojpeg.dll")
turbojpeg = TurboJPEG()
logger = logging.getLogger(__name__)


Expand Down

0 comments on commit bf32773

Please sign in to comment.