Skip to content

Commit 34f75e8

Browse files
jxlin123cg505
authored andcommitted
Revert "Removing printhost check for Google Docs" (#740)
This reverts commit c055f88.
1 parent b2d2576 commit 34f75e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/ocf_printhost/files/enforcer

+3-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ NOTIFY_PROBLEMATIC_FILE_SOURCE = dedent("""\
122122
Please download your file as a PDF and print from desktop instead of web browser.\
123123
""")
124124

125-
PROBLEMATIC_FILE_SOURCE = []
125+
PROBLEMATIC_FILE_SOURCE = [
126+
('Google Docs', lambda job: job.doc_name.endswith(' - Google Docs'))
127+
]
126128

127129

128130
def read_config():

0 commit comments

Comments
 (0)