Changeset 5214


Ignore:
Timestamp:
Jun 16, 2017, 10:44:59 PM (18 months ago)
Author:
Juanma
Message:

added bs4 to loadstore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/loadStore.py

    r5200 r5214  
    1313import datetime
    1414import gettext
     15from bs4 import BeautifulSoup
    1516gettext.textdomain('python3-lliurex-store')
    1617_=gettext.gettext
     
    318319                                desc=desc.replace(':','.')
    319320                                desc=desc.replace('&','&')
    320                 except:
     321                except Exception as e:
     322                        print("Can't get description from "+infoPage)
     323                        print(str(e))
    321324                        pass
    322325                return(desc)
Note: See TracChangeset for help on using the changeset viewer.