Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor update #8

Merged
merged 6 commits into from
Jul 7, 2012
Merged

Minor update #8

merged 6 commits into from
Jul 7, 2012

Conversation

lukas227
Copy link
Contributor

@lukas227 lukas227 commented Jul 5, 2012

  • some formatting changes (remove all stupid foodtags for IPP and MEN)
  • add a --no-autoupdate function (useful if sitting in the U-Bahn when the script wants to update)

IPP:
* remove meal properties (V R S)
* remove next to meal ingredients
* remove double whitespaces
* format the price with a dot (compatibility to mensa output)

MEN:
* improve and fix foodtags detection
* remove double whitespaces
- correct special number handling (dont' remove things like 1/2)
- use non-breaking spaces before the € sign and work around a textwrap
  limitation (no detection of unicode non-breakable spaces) by doing an
  utf-8 encode followed by a utf-8 decode
this is useful when sitting in the metro without internet and the script
wants to update ;)
meyerd added a commit that referenced this pull request Jul 7, 2012
@meyerd meyerd merged commit 3954063 into meyerd:master Jul 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants