mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: npk.py
This commit is contained in:
parent
7f54cf6098
commit
5be8e92948
2
npk.py
2
npk.py
@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
import struct,zlib
|
import struct,zlib
|
||||||
|
import argparse,os
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from enum import IntEnum
|
from enum import IntEnum
|
||||||
@ -294,7 +295,6 @@ class NovaPackage(Package):
|
|||||||
|
|
||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
import argparse,os
|
|
||||||
parser = argparse.ArgumentParser(description='nova package creator and editor')
|
parser = argparse.ArgumentParser(description='nova package creator and editor')
|
||||||
subparsers = parser.add_subparsers(dest="command")
|
subparsers = parser.add_subparsers(dest="command")
|
||||||
sign_parser = subparsers.add_parser('sign',help='sign npk file')
|
sign_parser = subparsers.add_parser('sign',help='sign npk file')
|
||||||
|
Loading…
Reference in New Issue
Block a user