You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-full-overlay/net-im/yowsup/files/yowsup-3.2.3_p20190905-fix-...

22 lines
819 B

--- a/setup.py 2019-05-07 18:52:38.000000000 +0200
+++ b/setup.py 2019-12-18 18:30:40.509051347 +0100
@@ -33,7 +33,6 @@
#long_description=long_description,
packages= find_packages(),
include_package_data=True,
- data_files = [('yowsup/common', ['yowsup/common/mime.types'])],
platforms='any',
#test_suite='',
classifiers = [
--- a/yowsup/common/tools.py 2019-05-07 18:52:38.000000000 +0200
+++ b/yowsup/common/tools.py 2019-12-18 18:30:40.509051347 +0100
@@ -165,7 +165,7 @@
return preview
class MimeTools:
- MIME_FILE = os.path.join(os.path.dirname(__file__), 'mime.types')
+ MIME_FILE = os.path.join('/usr/share/yowsup/common', 'mime.types')
mimetypes.init() # Load default mime.types
try:
mimetypes.init([MIME_FILE]) # Append whatsapp mime.types