Update by natay on Fri Jan 26 13:57:27 EST 2018 from natay
@@ -189,11 +189,6 @@ class Data(models.Model):
with open(self.file, 'wt') as fp:
pass
- #print(self.uid, bool(self.uid.strip()) )
- #if not bool(self.uid.strip()):
- # print(self.uid, self.id, self.name, self.project.name)
- # 1/0
-
super(Data, self).save(*args, **kwargs)
def peek(self):
@@ -216,10 +211,6 @@ class Data(models.Model):
def get_data_dir(self):
"The data directory"
- #if not bool(self.uid.strip()):
- # print(self.uid, self.id, self.name, self.project.get_project_dir())
- # 1/0
-
return join(self.get_project_dir(), f"store-{self.uid}")
def get_project_dir(self):
