diff --git a/setup.py b/setup.py index bcdc49c..81c4b4f 100755 --- a/setup.py +++ b/setup.py @@ -28,7 +28,9 @@ def environment(): '''Verify the data has been written''' print("\nVerifying data..") verify = open(".env") - if data == verify.read(): + readData = verify.read() + verify.close() + if data == readData: print("Data written successfully") return else: