mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +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 gzip
|
||||||
import inspect
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import os
|
|
||||||
import pathlib
|
import pathlib
|
||||||
import platform
|
import platform
|
||||||
import shutil
|
import shutil
|
||||||
|
|
Loading…
Reference in a new issue