Permalink
Browse files

2.020 fix filename in windows can't end with .

  • Loading branch information...
fffonion committed Sep 27, 2018
1 parent 597f020 commit 5976915cd4a57620eb3a0392166296a4d1020ccc
Showing with 1 addition and 1 deletion.
  1. +1 −1 xeHentai/util/__init__.py
@@ -12,7 +12,7 @@
from ..const import *
if os.name == 'nt':
filename_filter = re.compile("[|:?\\/*'\"<>]")
filename_filter = re.compile("[|:?\\/*'\"<>]|\.(?:$)")
else:# assume posix
filename_filter = re.compile("[\/:]")

0 comments on commit 5976915

Please sign in to comment.