Npcap issues addressed

This commit is contained in:
Wiktor Mazur
2020-05-03 17:21:17 +02:00
parent 71cf41d8ca
commit 1d722338a0
5 changed files with 28 additions and 4 deletions
+7
View File
@@ -3,6 +3,13 @@ import os
assets_path = os.path.join(os.path.dirname(
os.path.abspath(__file__)), '..', 'assets')
scripts_path = os.path.join(os.path.dirname(
os.path.abspath(__file__)), '..', 'scripts')
def path(file):
return os.path.join(assets_path, file)
def scripts(script_name):
return os.path.join(scripts_path, script_name)