mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 12:22:28 +03:00
type fixing
This commit is contained in:
parent
62041fb649
commit
e78328c880
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ class Util:
|
|||
return content
|
||||
|
||||
@staticmethod
|
||||
def write_file(full_path, content, mode='w'):
|
||||
def write_file(full_path, content, mode='w+'):
|
||||
file = None
|
||||
try:
|
||||
file = open(full_path, mode)
|
||||
|
@ -242,4 +242,4 @@ class Util:
|
|||
|
||||
@staticmethod
|
||||
def generate_uuid():
|
||||
return uuid.uuid4()
|
||||
return str(uuid.uuid4())
|
||||
|
|
Loading…
Reference in a new issue