Create cmfile.py
This commit is contained in:
parent
a358f1c938
commit
3042498a0e
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
__author__ = 'ty'
|
||||
|
||||
import json
|
||||
|
||||
class CMFile:
|
||||
url = ""
|
||||
sha1 = ""
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def json(self):
|
||||
return json.dumps(self, default=lambda o: o.__dict__, ensure_ascii=False, sort_keys=True)
|
Loading…
Reference in New Issue