mirror of
https://github.com/gryf/slack-backup.git
synced 2025-12-17 11:30:25 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ffb9f9406 | |||
| 2475bb029d | |||
|
|
01dfc0e8bc |
4
setup.py
4
setup.py
@@ -10,7 +10,7 @@ except ImportError:
|
|||||||
|
|
||||||
setup(name="slack-backup",
|
setup(name="slack-backup",
|
||||||
packages=["slack_backup"],
|
packages=["slack_backup"],
|
||||||
version="0.6",
|
version="0.7",
|
||||||
description="Make copy of slack converstaions",
|
description="Make copy of slack converstaions",
|
||||||
author="Roman Dobosz",
|
author="Roman Dobosz",
|
||||||
author_email="gryf73@gmail.com",
|
author_email="gryf73@gmail.com",
|
||||||
@@ -21,7 +21,7 @@ setup(name="slack-backup",
|
|||||||
scripts=["scripts/slack-backup"],
|
scripts=["scripts/slack-backup"],
|
||||||
classifiers=["Programming Language :: Python :: 3",
|
classifiers=["Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.4",
|
"Programming Language :: Python :: 3.4",
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Intended Audience :: End Users/Desktop",
|
"Intended Audience :: End Users/Desktop",
|
||||||
"License :: OSI Approved :: BSD License",
|
"License :: OSI Approved :: BSD License",
|
||||||
|
|||||||
@@ -175,8 +175,7 @@ class Download(object):
|
|||||||
'password': self.password,
|
'password': self.password,
|
||||||
'signin': 1})
|
'signin': 1})
|
||||||
self.cookies = requests.utils.dict_from_cookiejar(self.session.cookies)
|
self.cookies = requests.utils.dict_from_cookiejar(self.session.cookies)
|
||||||
if not ('a' in self.cookies and 'b' in self.cookies and
|
if not ('d' in self.cookies and 'd-s' in self.cookies):
|
||||||
('a-' + self.cookies['a']) in self.cookies):
|
|
||||||
logging.error('Failed to login into Slack app')
|
logging.error('Failed to login into Slack app')
|
||||||
else:
|
else:
|
||||||
self._authorized = True
|
self._authorized = True
|
||||||
|
|||||||
Reference in New Issue
Block a user