mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
fix force variable name
This commit is contained in:
@@ -92,7 +92,7 @@ def close_file(f, force_flush=False):
|
|||||||
Boolean, True if the file was successfully closed. False if an error
|
Boolean, True if the file was successfully closed. False if an error
|
||||||
was encountered while closing.
|
was encountered while closing.
|
||||||
"""
|
"""
|
||||||
if force_to_disk:
|
if force_flush:
|
||||||
f.flush()
|
f.flush()
|
||||||
os.fsync(f.fileno())
|
os.fsync(f.fileno())
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user