Skip to content

Commit

Permalink
Update esf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
encloinc authored Aug 30, 2016
1 parent 166f0a0 commit db57b3f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions esf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
# /_____/ /____//_/
# The easiest way to save arrays on a file, saved on a .ESF format (;
import os
import shutil
import engine

class functions:
class EasySaveFunctions:
def __init__(self, filepath, name):
self.file_path_ = filepath
self.name_ = name
Expand Down Expand Up @@ -88,7 +87,7 @@ def delete(self):
f = open(self.directory_, 'w')
f.close()
else:
shutil.rmtree(self.directory_)
os.remove(self.directory_)
def get_list(self):
if check_format(self.directory_) == 'True':
if not os.path.exists(self.directory_):
Expand Down

0 comments on commit db57b3f

Please sign in to comment.