Skip to content

Commit 8c2f560

Browse files
authored
Update story_manager.py
Disable auto upload
1 parent 01c485a commit 8c2f560

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

story/story_manager.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ def save_to_storage(self):
129129
f.write(story_json)
130130
f.close()
131131

132-
FNULL = open(os.devnull, "w")
133-
p = Popen(
134-
["gsutil", "cp", file_name, "gs://aidungeonstories"],
135-
stdout=FNULL,
136-
stderr=subprocess.STDOUT,
137-
)
138-
return self.uuid
132+
#FNULL = open(os.devnull, "w")
133+
#p = Popen(
134+
# ["gsutil", "cp", file_name, "gs://aidungeonstories"],
135+
# stdout=FNULL,
136+
# stderr=subprocess.STDOUT,
137+
#)
138+
#return self.uuid
139139

140140
def load_from_storage(self, story_id):
141141

0 commit comments

Comments
 (0)