Skip to content

/dev/null for windows #288

@jeffreyworsley

Description

@jeffreyworsley

I have:

  • [ /dev/null ] searched open and closed issues for duplicates

Bug description

/dev/null does not exist in windows

FIX: src/escpos/escpos.py

LINE 24  +import os.devnull
LINE 494 +nullfile = open(os.devnull,"w")
                  my_code.write(nullfile, { ....

I don't have commint push access...

Steps to reproduce

  • run in windows
  • init escpos

Device info

python-escpos version: all

python version: 3.7.0b1

operating system: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions