type fixing

This commit is contained in:
Volkan Şahin 2016-06-30 14:51:45 +03:00
parent 62041fb649
commit e78328c880

View file

@ -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())