kvh / recurrent

Natural language parsing of dates and recurring events
MIT License
250 stars 30 forks source link

Fixed import of parsedatetime. #2

Closed jpic closed 11 years ago

jpic commented 11 years ago

Maybe this is due to a recent change of parsedatetime ?

kvh commented 11 years ago

Yes, it's due to a parsedatetime change. This should be a conditional import to handle all versions:

try:
    from parsedatetime import parsedatetime
except ImportError:
    import parsedatetime
kvh commented 11 years ago

Thanks!