1
0
mirror of https://github.com/gryf/slack-backup.git synced 2025-12-17 11:30:25 +01:00

Removed shebang

This commit is contained in:
2016-11-20 15:11:56 +01:00
parent b1969e6f6b
commit 71c0866699

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" """
Create backup for certain date for specified channel in slack Create backup for certain date for specified channel in slack
""" """
@@ -17,6 +16,10 @@ class Client(object):
self.session = db.Session() self.session = db.Session()
def get_hisotry(self, selected_channels=None, from_date=0): def get_hisotry(self, selected_channels=None, from_date=0):
self._update_users()
self._update_channels()
channels = self._get_channel_list() channels = self._get_channel_list()
if selected_channels: if selected_channels:
selected_channels = [c for c in channels selected_channels = [c for c in channels