forked from p34709852/monkey
Island: Add missing type hint to LocalMonkeyRunService constructor
This commit is contained in:
parent
3d931b11f9
commit
9b52f3f21b
|
@ -3,6 +3,7 @@ import os
|
||||||
import platform
|
import platform
|
||||||
import stat
|
import stat
|
||||||
import subprocess
|
import subprocess
|
||||||
|
from pathlib import Path
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
|
|
||||||
from monkey_island.cc.resources.monkey_download import get_agent_executable_path
|
from monkey_island.cc.resources.monkey_download import get_agent_executable_path
|
||||||
|
@ -19,7 +20,7 @@ class LocalMonkeyRunService:
|
||||||
# static/singleton hybrids. At the moment, this requires invasive refactoring that's
|
# static/singleton hybrids. At the moment, this requires invasive refactoring that's
|
||||||
# not a priority.
|
# not a priority.
|
||||||
@classmethod
|
@classmethod
|
||||||
def initialize(cls, data_dir):
|
def initialize(cls, data_dir: Path):
|
||||||
cls.DATA_DIR = data_dir
|
cls.DATA_DIR = data_dir
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue