You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File ".../lib/python3.4/site-packages/django_cron/backends/lock/file.py", line 20, in lock
f = open(lock_name, 'w+', 0)
ValueError: can't have unbuffered text I/O
For python3, should change line 20 to f = open(lock_name, 'wb+', 0) and line 37 to f.write(bytearray(str(os.getpid()), 'utf-8'))
The text was updated successfully, but these errors were encountered:
File ".../lib/python3.4/site-packages/django_cron/backends/lock/file.py", line 20, in lock
f = open(lock_name, 'w+', 0)
ValueError: can't have unbuffered text I/O
For python3, should change line 20 to f = open(lock_name, 'wb+', 0) and line 37 to f.write(bytearray(str(os.getpid()), 'utf-8'))
The text was updated successfully, but these errors were encountered: