mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
simplify resources_path logic to reolve type hint
The following logic was leading to type hint issues: > inspect.getfile(inspect.currentframe()) But this code is overly complex for what it does is the same as simply __file__. So we kill two birds with one stone, so to speak.
This commit is contained in:
parent
c69f228261
commit
ccacf50db5
1 changed files with 0 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
import gzip
|
||||
import inspect
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
import platform
|
||||
import shutil
|
||||
|
|
Loading…
Reference in a new issue