Skip to content

Order class broken #59

@voron434

Description

@voron434

I tried running your code example from README, but there is an inconsistent use of tabs and spaces in pizzapi/order.py:

Python 3.6.3 (default, Oct 3 2017, 21:45:48)
[GCC 7.2.0] on linux

>>> from pizzapi import Customer
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/pizzapi/__init__.py", line 5, in <module>
    from .order import Order
  File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/pizzapi/order.py", line 130
    return response
                  ^
TabError: inconsistent use of tabs and spaces in indentation
>>> from pizzapi import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/pizzapi/__init__.py", line 5, in <module>
    from .order import Order
  File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/pizzapi/order.py", line 130
    return response
                  ^
TabError: inconsistent use of tabs and spaces in indentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions