We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f269e7 commit 73db4fcCopy full SHA for 73db4fc
project/slack/bots.py
@@ -156,10 +156,10 @@ def delete_files(self):
156
for idx in range(fl_info['paging']['pages']-1):
157
all_files.extend(self.slacker.files.list(ts_to=all_files[-1]['created'],count=1000)['files'][1:])
158
space_used = sum([f['size'] for f in all_files])
159
- if space_used > 4*10^9:
+ if space_used > 4 * 10 ^ 9:
160
to_del=[]
161
idx = -1
162
- while space_used > 4*10^9:
+ while space_used > 4 * 10 ^ 9:
163
if not all_files[idx]['is_starred']:
164
to_del.append(all_files[idx]['id'])
165
space_used = space_used - all_files[idx]['size']
@@ -186,4 +186,4 @@ def sign_off(self):
186
g.extend(witch.get_messages())
187
witch.rtmbot.autoping()
188
time.sleep(.5)
189
-'''
+'''
0 commit comments