Fixed error with opening error.log that causes strange issues with greyed out fields.
This commit is contained in:
parent
f8eab59502
commit
272e3ade14
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'''Command line module for web2exe.'''
|
||||
|
||||
__version__ = "v0.2.7b"
|
||||
__version__ = "v0.2.8b"
|
||||
|
||||
import ssl
|
||||
|
||||
|
|
|
|||
2
utils.py
2
utils.py
|
|
@ -34,7 +34,7 @@ def get_data_file_path(file_path):
|
|||
def log(*args):
|
||||
if DEBUG:
|
||||
print(*args)
|
||||
with open('error.log', 'a+') as f:
|
||||
with open(get_data_file_path('files/error.log'), 'a+') as f:
|
||||
f.write(', '.join(args))
|
||||
f.write('\n')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue