Fix typo in comment

This commit is contained in:
Micah Lee 2019-02-12 14:30:41 -08:00
parent dafe57cdef
commit 28eaf2f2be
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -173,7 +173,7 @@ class ReceiveModeFile(object):
try:
self.f = open(self.filename_in_progress, 'wb+')
except:
# This will only happen if someone is messaging with the data dir while
# This will only happen if someone is messing with the data dir while
# OnionShare is running, but if it does make sure to throw an error
self.upload_error = True
self.f = tempfile.TemporaryFile('wb+')